summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cqueue.h
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-05-19 20:55:57 +0200
committerTyge Lovset <[email protected]>2023-05-19 20:55:57 +0200
commit26513bb1352ab4e4ffe931aabd80868216afc551 (patch)
treeb21b3ede63e3661ad279c80e25ad9719a00281aa /include/stc/cqueue.h
parentd629139d053fdc1ff24bc0dc1985e1a2d1a0ac47 (diff)
downloadSTC-modified-26513bb1352ab4e4ffe931aabd80868216afc551.tar.gz
STC-modified-26513bb1352ab4e4ffe931aabd80868216afc551.zip
Minor cbits change.
Diffstat (limited to 'include/stc/cqueue.h')
-rw-r--r--include/stc/cqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cqueue.h b/include/stc/cqueue.h
index 1f2c7d0f..571c1fe9 100644
--- a/include/stc/cqueue.h
+++ b/include/stc/cqueue.h
@@ -62,7 +62,7 @@ STC_INLINE _cx_value* _cx_memb(_emplace)(_cx_self* self, _cx_raw raw)
{ return _cx_memb(_push)(self, i_keyfrom(raw)); }
#endif
-#if defined _i_has_eq || defined _i_has_cmp
+#if defined _i_has_cmp || defined _i_has_eq
STC_API bool _cx_memb(_eq)(const _cx_self* self, const _cx_self* other);
#endif
@@ -216,7 +216,7 @@ _cx_memb(_clone)(_cx_self cx) {
}
#endif // i_no_clone
-#if defined _i_has_eq || defined _i_has_cmp
+#if defined _i_has_cmp || defined _i_has_eq
STC_DEF bool
_cx_memb(_eq)(const _cx_self* self, const _cx_self* other) {
if (_cx_memb(_size)(self) != _cx_memb(_size)(other)) return false;