Added unit tests for IterableKVList<HP>
[libcds.git] / cds / container / impl / iterable_kvlist.h
index 0cac4538a1151deaece9728b467cd844a965968d..a483c57fdac4166b7f64b143c5ca29d0d9915753 100644 (file)
@@ -361,7 +361,7 @@ namespace cds { namespace container {
 #endif
         update( K const& key, Func f, bool bAllowInsert = true )
         {
-            return base_class::update( key, f, bAllowInsert );
+            return base_class::update( value_type( key, mapped_type()), f, bAllowInsert );
         }
 
         /// Insert or update