diff options
| author | Tyge Lovset <[email protected]> | 2023-05-19 20:55:57 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2023-05-19 20:55:57 +0200 |
| commit | 26513bb1352ab4e4ffe931aabd80868216afc551 (patch) | |
| tree | b21b3ede63e3661ad279c80e25ad9719a00281aa /include/stc/cdeq.h | |
| parent | d629139d053fdc1ff24bc0dc1985e1a2d1a0ac47 (diff) | |
| download | STC-modified-26513bb1352ab4e4ffe931aabd80868216afc551.tar.gz STC-modified-26513bb1352ab4e4ffe931aabd80868216afc551.zip | |
Minor cbits change.
Diffstat (limited to 'include/stc/cdeq.h')
| -rw-r--r-- | include/stc/cdeq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cdeq.h b/include/stc/cdeq.h index 77fb015f..b3714bf8 100644 --- a/include/stc/cdeq.h +++ b/include/stc/cdeq.h @@ -94,7 +94,7 @@ _cx_memb(_emplace_at)(_cx_self* self, _cx_iter it, const _cx_raw raw) { return _cx_memb(_insert_at)(self, it, i_keyfrom(raw)); } #endif -#if defined _i_has_eq || defined _i_has_cmp +#if defined _i_has_cmp || defined _i_has_eq STC_API _cx_iter _cx_memb(_find_in)(_cx_iter p1, _cx_iter p2, _cx_raw raw); STC_INLINE _cx_iter @@ -172,7 +172,7 @@ _cx_memb(_emplace_n)(_cx_self* self, const intptr_t idx, const _cx_raw* raw, con } #endif -#if defined _i_has_eq || defined _i_has_cmp +#if defined _i_has_cmp || defined _i_has_eq STC_DEF _cx_iter _cx_memb(_find_in)(_cx_iter i1, _cx_iter i2, _cx_raw raw) { for (; i1.pos != i2.pos; _cx_memb(_next)(&i1)) { |
