X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=samples%2FMapCorrectnessTests%2FTestChurn.h;fp=samples%2FMapCorrectnessTests%2FTestChurn.h;h=ca2b321fc2c066f9d72ccbb2b6d8befa99fa11e2;hb=d8d5218d427eef49eb917e0fb3a17d6ea21715b4;hp=5ca48b8f5629802ac03b9ddcc9a293441c9be645;hpb=624f46ff6ace5dfca5dcfe2606585b3aa68ae28c;p=junction.git diff --git a/samples/MapCorrectnessTests/TestChurn.h b/samples/MapCorrectnessTests/TestChurn.h index 5ca48b8..ca2b321 100644 --- a/samples/MapCorrectnessTests/TestChurn.h +++ b/samples/MapCorrectnessTests/TestChurn.h @@ -79,7 +79,7 @@ public: u32 key = thread.insertIndex * m_relativePrime; key = key ^ (key >> 16); if (key >= 2) { - m_map.insert(key, (void*) uptr(key)); + m_map.set(key, (void*) uptr(key)); } if (++thread.insertIndex >= thread.rangeHi) thread.insertIndex = thread.rangeLo; @@ -96,7 +96,7 @@ public: u32 key = thread.insertIndex * m_relativePrime; key = key ^ (key >> 16); if (key >= 2) { - m_map.insert(key, (void*) uptr(key)); + m_map.set(key, (void*) uptr(key)); } if (++thread.insertIndex >= thread.rangeHi) thread.insertIndex = thread.rangeLo;