Rename set() to assign()
[junction.git] / samples / MallocTest / MallocTest.cpp
index a6695d2a8b44905e0c0c015e9c69e7b4fc0d0c0a..c0e18cf71091e50b00b22028ec82f648200285b1 100644 (file)
@@ -28,7 +28,7 @@ int main() {
         std::cout << "Population=" << population << ", inUse=" << TURF_HEAP.getInUseBytes() << std::endl;
 #endif
         for (; population < i * 5000; population++)
-            map.set(population + 1, (void*) ((population << 2) | 3));
+            map.assign(population + 1, (void*) ((population << 2) | 3));
     }
 
     return 0;