fix map.h C++ inline functions not ported to new collection base class

Wed, 30 Oct 2024 16:59:53 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 30 Oct 2024 16:59:53 +0100
changeset 957
26e47a874f19
parent 956
abd60ccd74f7
child 958
c9033d30a9f6

fix map.h C++ inline functions not ported to new collection base class

src/cx/map.h file | annotate | diff | comparison | revisions
--- a/src/cx/map.h	Tue Oct 29 18:47:49 2024 +0100
+++ b/src/cx/map.h	Wed Oct 30 16:59:53 2024 +0100
@@ -657,7 +657,7 @@
         CxMap *map,
         CxHashKey key
 ) {
-    return map->cl->remove(map, key, !map->store_pointer);
+    return map->cl->remove(map, key, !map->collection.store_pointer);
 }
 
 /**
@@ -684,7 +684,7 @@
         CxMap *map,
         cxstring key
 ) {
-    return map->cl->remove(map, cx_hash_key_cxstr(key), !map->store_pointer);
+    return map->cl->remove(map, cx_hash_key_cxstr(key), !map->collection.store_pointer);
 }
 
 /**
@@ -711,7 +711,7 @@
         CxMap *map,
         cxmutstr key
 ) {
-    return map->cl->remove(map, cx_hash_key_cxstr(key), !map->store_pointer);
+    return map->cl->remove(map, cx_hash_key_cxstr(key), !map->collection.store_pointer);
 }
 
 /**
@@ -738,7 +738,7 @@
         CxMap *map,
         const char *key
 ) {
-    return map->cl->remove(map, cx_hash_key_str(key), !map->store_pointer);
+    return map->cl->remove(map, cx_hash_key_str(key), !map->collection.store_pointer);
 }
 
 #else // __cplusplus

mercurial