Renaming map member function insert_key() to insert_with()
[libcds.git] / cds / container / michael_map.h
index a090a6d46d270be3dfba6bcb3b580453ac8c1f71..ba411b73521e0a266d710931a046210f389d6383 100644 (file)
@@ -462,9 +462,9 @@ namespace cds { namespace container {
             synchronization.
         */
         template <typename K, typename Func>
-        bool insert_key( const K& key, Func func )
+        bool insert_with( const K& key, Func func )
         {
-            const bool bRet = bucket( key ).insert_key( key, func );
+            const bool bRet = bucket( key ).insert_with( key, func );
             if ( bRet )
                 ++m_ItemCounter;
             return bRet;