Rename insert() to set() to avoid confusion with std::map::insert()
[junction.git] / junction / ConcurrentMap_Crude.h
index c78e4cf588cca9cdfc8dfd395e2c02d1c9c49dd2..d064a4805b155a1b2702b1eeb5afeea8b9a751a8 100644 (file)
@@ -49,7 +49,7 @@ public:
         delete[] m_cells;
     }
 
-    void insert(Key key, Value value) {
+    void set(Key key, Value value) {
         TURF_ASSERT(key != KeyTraits::NullKey);
         TURF_ASSERT(value != Value(ValueTraits::NullValue));