X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fcontainer%2Fimpl%2Fmichael_kvlist.h;h=6218f695538e9bc90fc01b393f9af620e533f803;hp=a31103e4949be5c38b61cb80e183431e39356d52;hb=1299028af6164e05fb012f668a9252e5d16d0f39;hpb=f102c6f11ea657d61de3bbf1b7fbd6159629b3bb diff --git a/cds/container/impl/michael_kvlist.h b/cds/container/impl/michael_kvlist.h index a31103e4..6218f695 100644 --- a/cds/container/impl/michael_kvlist.h +++ b/cds/container/impl/michael_kvlist.h @@ -399,9 +399,9 @@ namespace cds { namespace container { @warning See \ref cds_intrusive_item_creating "insert item troubleshooting" */ template - bool insert_key( const K& key, Func func ) + bool insert_with( const K& key, Func func ) { - return insert_key_at( head(), key, func ); + return insert_with_at( head(), key, func ); } /// Ensures that the \p key exists in the list @@ -740,7 +740,7 @@ namespace cds { namespace container { } template - bool insert_key_at( head_type& refHead, const K& key, Func f ) + bool insert_with_at( head_type& refHead, const K& key, Func f ) { scoped_node_ptr pNode( alloc_node( key ));