Renaming map member function insert_key() to insert_with()
[libcds.git] / cds / container / michael_map_nogc.h
index cfa193e8e6b0ea19891156921bfa163ed56323c7..e541b178c218687c48ab84128bd16ca58ae44072 100644 (file)
@@ -351,10 +351,10 @@ namespace cds { namespace container {
             synchronization.
         */
         template <typename K, typename Func>
-        iterator insert_key( const K& key, Func func )
+        iterator insert_with( const K& key, Func func )
         {
             bucket_type& refBucket = bucket( key );
-            bucket_iterator it = refBucket.insert_key( key, func );
+            bucket_iterator it = refBucket.insert_with( key, func );
 
             if ( it != refBucket.end() ) {
                 ++m_ItemCounter;