# HG changeset patch
# User Olaf Wintermann <olaf.wintermann@gmail.com>
# Date 1730303993 -3600
# Node ID 26e47a874f19bc2523b5c3928841d7c1fcdac9b2
# Parent  abd60ccd74f7b7f1abe866fe07022f08fdd50858
fix map.h C++ inline functions not ported to new collection base class

diff -r abd60ccd74f7 -r 26e47a874f19 src/cx/map.h
--- 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