projects
/
junction.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename set() to assign()
[junction.git]
/
samples
/
MapCorrectnessTests
/
TestInsertDifferentKeys.h
diff --git
a/samples/MapCorrectnessTests/TestInsertDifferentKeys.h
b/samples/MapCorrectnessTests/TestInsertDifferentKeys.h
index 7e7bdaac3f5eb916e93fb1ef6020b9c40fca9f47..c0e22117c1ea64f4b426367a537f6f8ddd3a24f4 100644
(file)
--- a/
samples/MapCorrectnessTests/TestInsertDifferentKeys.h
+++ b/
samples/MapCorrectnessTests/TestInsertDifferentKeys.h
@@
-36,7
+36,7
@@
public:
u32 key = index * m_relativePrime;
key = key ^ (key >> 16);
if (key >= 2) { // Don't insert 0 or 1
- m_map->
set
(key, (void*) uptr(key));
+ m_map->
assign
(key, (void*) uptr(key));
keysRemaining--;
}
index++;