diff options
| author | Tyge Løvset <[email protected]> | 2023-01-06 11:40:41 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-01-06 11:40:41 +0100 |
| commit | 7abea5ab04bffebbedfad7bd8d9c5c26170d19af (patch) | |
| tree | 25f1aa511aa27198c31b7bad13ae137dd52828ad /misc/archived | |
| parent | dd1ac09cd54e2632ec9d272ec578cde67a5edd01 (diff) | |
| download | STC-modified-7abea5ab04bffebbedfad7bd8d9c5c26170d19af.tar.gz STC-modified-7abea5ab04bffebbedfad7bd8d9c5c26170d19af.zip | |
Removed swap() function from all containers. Use safe c_SWAP() macro instead.
Diffstat (limited to 'misc/archived')
| -rw-r--r-- | misc/archived/csmap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/misc/archived/csmap.h b/misc/archived/csmap.h index 8b182e70..5c9fba6b 100644 --- a/misc/archived/csmap.h +++ b/misc/archived/csmap.h @@ -113,7 +113,6 @@ STC_API void _cx_memb(_next)(_cx_iter* it); STC_INLINE bool _cx_memb(_empty)(_cx_self cx) { return cx.size == 0; } STC_INLINE size_t _cx_memb(_size)(_cx_self cx) { return cx.size; } -STC_INLINE void _cx_memb(_swap)(_cx_self* a, _cx_self* b) { c_SWAP(_cx_self, *a, *b); } STC_INLINE _cx_iter _cx_memb(_find)(const _cx_self* self, i_keyraw rkey) { _cx_iter it; _cx_memb(_find_it)(self, rkey, &it); return it; } STC_INLINE bool _cx_memb(_contains)(const _cx_self* self, i_keyraw rkey) |
