summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/cmap_benchmark2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/cmap_benchmark2.cpp')
-rw-r--r--benchmarks/cmap_benchmark2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/cmap_benchmark2.cpp b/benchmarks/cmap_benchmark2.cpp
index 54d6e7d9..cda8c15b 100644
--- a/benchmarks/cmap_benchmark2.cpp
+++ b/benchmarks/cmap_benchmark2.cpp
@@ -123,8 +123,8 @@ static void ins_and_erase_cmap_i(picobench::state& s)
stc64_srandom(seed);
c_forrange (s.iterations())
cmap_i_erase(&map, stc64_random());
- cmap_i_del(&map);
s.set_result(cmap_i_size(map));
+ cmap_i_del(&map);
}
#define P samples(S1).iterations({N1/4})