projects
/
junction.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename insert() to set() to avoid confusion with std::map::insert()
[junction.git]
/
junction
/
extra
/
impl
/
MapAdapter_NBDS.h
diff --git
a/junction/extra/impl/MapAdapter_NBDS.h
b/junction/extra/impl/MapAdapter_NBDS.h
index 43ed97b35930e8d210c30c0e61c8df5081a5d51c..bd2bc86dd50662343a091252e3c7afb18e881c2e 100644
(file)
--- a/
junction/extra/impl/MapAdapter_NBDS.h
+++ b/
junction/extra/impl/MapAdapter_NBDS.h
@@
-69,7
+69,7
@@
public:
ht_free(m_map);
}
- void
inser
t(u32 key, void* value) {
+ void
se
t(u32 key, void* value) {
ht_cas(m_map, key, CAS_EXPECT_WHATEVER, (map_val_t) value);
}