diff options
| author | Tyge Løvset <[email protected]> | 2023-02-18 07:51:44 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-02-18 07:51:44 +0100 |
| commit | 0e3d07dbd991c1f1a691b24655c37ddab660a9d9 (patch) | |
| tree | dc9801e2fc9f62cbe3eb32cc8897c65e3f25f78b /include/stc/priv/template.h | |
| parent | c4ae61de5be08e719e3183f4e2d1115c11856796 (diff) | |
| download | STC-modified-0e3d07dbd991c1f1a691b24655c37ddab660a9d9.tar.gz STC-modified-0e3d07dbd991c1f1a691b24655c37ddab660a9d9.zip | |
Fixed carc, cbox: no need for no_lookup and no_eq: use only no_cmp, no_hash if needed.
Diffstat (limited to 'include/stc/priv/template.h')
| -rw-r--r-- | include/stc/priv/template.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/stc/priv/template.h b/include/stc/priv/template.h index 4b5c60cf..3fddb998 100644 --- a/include/stc/priv/template.h +++ b/include/stc/priv/template.h @@ -99,9 +99,6 @@ #if c_option(c_no_cmp) #define i_no_cmp #endif -#if c_option(c_no_eq) - #define i_no_eq -#endif #if c_option(c_no_hash) #define i_no_hash #endif @@ -128,7 +125,7 @@ #elif defined i_keyboxed #define i_keyclass i_keyboxed #define i_rawclass c_PASTE(i_keyboxed, _raw) - #ifndef i_no_eq + #ifndef i_no_cmp #define i_eq c_PASTE(i_keyboxed, _raw_eq) #endif #endif @@ -338,7 +335,6 @@ #undef i_free #undef i_no_cmp -#undef i_no_eq #undef i_no_hash #undef i_no_clone #undef i_no_emplace |
