diff options
| author | Tyge Løvset <[email protected]> | 2022-11-27 16:20:02 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-11-27 16:20:02 +0100 |
| commit | bd6fdd79ee0aa91796ce88048ee15f7ae0f3e874 (patch) | |
| tree | 2046964adcb9326d22b877278414cfa61290fc1e /include/stc/csmap.h | |
| parent | 913cb0ac2f97859ac237f7ae15b29420239837ba (diff) | |
| download | STC-modified-bd6fdd79ee0aa91796ce88048ee15f7ae0f3e874.tar.gz STC-modified-bd6fdd79ee0aa91796ce88048ee15f7ae0f3e874.zip | |
removed csmap_X_value_cmp(): doesn't work with i_cmp_functor, and not needed for now.
Diffstat (limited to 'include/stc/csmap.h')
| -rw-r--r-- | include/stc/csmap.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/stc/csmap.h b/include/stc/csmap.h index 84cf2c22..68b69831 100644 --- a/include/stc/csmap.h +++ b/include/stc/csmap.h @@ -148,13 +148,6 @@ _cx_memb(_value_toraw)(const _cx_value* val) { i_valto((&val->second))} ); } -STC_INLINE int -_cx_memb(_value_cmp)(const _cx_value* x, const _cx_value* y) { - const _cx_rawkey rx = i_keyto(_i_keyref(x)); - const _cx_rawkey ry = i_keyto(_i_keyref(y)); - return i_cmp_functor(self, (&rx), (&ry)); -} - STC_INLINE void _cx_memb(_value_drop)(_cx_value* val) { i_keydrop(_i_keyref(val)); |
