diff --git a/tests/core/bricks.cc b/tests/core/bricks.cc index ec386be4b..615bd0acc 100644 --- a/tests/core/bricks.cc +++ b/tests/core/bricks.cc @@ -209,7 +209,7 @@ int main() std::vector workers; for (int i = 0; i < 6; i++) workers. - push_back(std::thread([&ht2](int tid) + push_back(std::thread([ht2](int tid) mutable { for (int i = 0; i< 2000; ++i) ht2.insert({i, tid});