diff --git a/benchmark/bench.cc b/benchmark/bench.cc index 4ce2898..443e46c 100644 --- a/benchmark/bench.cc +++ b/benchmark/bench.cc @@ -201,7 +201,7 @@ void _fill_random_inner_mt(int64_t cnt, HT &hash, RSU &rsu) std::unique_ptr threads[num_threads]; auto thread_fn = [&hash, cnt, num_threads](int64_t thread_idx, RSU rsu) { -#ifdef MT_SUPPORT +#if MT_SUPPORT typename HT::hasher hasher; // get hasher object from the hash table size_t modulo = hash.subcnt() / num_threads; // subcnt() returns the number of submaps @@ -265,7 +265,7 @@ Timer _fill_random2(int64_t cnt, HT &hash) for (loop_idx=0; loop_idx