projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added unit tests for IterableKVList<HP>
[libcds.git]
/
cds
/
container
/
impl
/
iterable_kvlist.h
diff --git
a/cds/container/impl/iterable_kvlist.h
b/cds/container/impl/iterable_kvlist.h
index 0cac4538a1151deaece9728b467cd844a965968d..a483c57fdac4166b7f64b143c5ca29d0d9915753 100644
(file)
--- a/
cds/container/impl/iterable_kvlist.h
+++ b/
cds/container/impl/iterable_kvlist.h
@@
-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