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_Linear_Mutex.h
diff --git
a/junction/extra/impl/MapAdapter_Linear_Mutex.h
b/junction/extra/impl/MapAdapter_Linear_Mutex.h
index fbb21dfdd36e5c6bf1afc07c297b6af04255b4b7..d383663442d1be939bdab58923735b1871a760d5 100644
(file)
--- a/
junction/extra/impl/MapAdapter_Linear_Mutex.h
+++ b/
junction/extra/impl/MapAdapter_Linear_Mutex.h
@@
-52,9
+52,9
@@
public:
Map(ureg capacity) : m_map(capacity) {
}
- void
inser
t(u32 key, void* value) {
+ void
se
t(u32 key, void* value) {
turf::LockGuard<turf::Mutex> guard(m_mutex);
- m_map.
inser
t(key, value);
+ m_map.
se
t(key, value);
}
void* get(u32 key) {