Rename insert() to set() to avoid confusion with std::map::insert()
[junction.git] / junction / extra / impl / MapAdapter_NBDS.h
index 43ed97b35930e8d210c30c0e61c8df5081a5d51c..bd2bc86dd50662343a091252e3c7afb18e881c2e 100644 (file)
@@ -69,7 +69,7 @@ public:
             ht_free(m_map);
         }
 
-        void insert(u32 key, void* value) {
+        void set(u32 key, void* value) {
             ht_cas(m_map, key, CAS_EXPECT_WHATEVER, (map_val_t) value);
         }