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
/
SingleMap_Linear.h
diff --git
a/junction/SingleMap_Linear.h
b/junction/SingleMap_Linear.h
index d347b5ad8220e686c59cbf94affccd6aa4ac2536..f68ec10d094eae3717d761bda9bfb54dde245229 100644
(file)
--- a/
junction/SingleMap_Linear.h
+++ b/
junction/SingleMap_Linear.h
@@
-189,7
+189,7
@@
public:
return iter.isValid() ? iter.getValue() : NULL;
}
- Value
inser
t(const Key& key, Value desired) {
+ Value
se
t(const Key& key, Value desired) {
Iterator iter(*this, key);
return iter.exchangeValue(desired);
}