From cf126cbd56beb7f23f382455cde6642b992ae4c9 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 26 Apr 2020 19:16:40 -0400 Subject: [PATCH] remove a std::bind by lambda part of #9930 --- tests/quick_tests/tbb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/quick_tests/tbb.cc b/tests/quick_tests/tbb.cc index c9a1445a47..b8ff84462c 100644 --- a/tests/quick_tests/tbb.cc +++ b/tests/quick_tests/tbb.cc @@ -74,7 +74,7 @@ test2() WorkStream::run(v.begin(), v.end(), &assemble, - std::bind(©, std::ref(result), std::placeholders::_1), + [&result](const copy_data &data) { copy(result, data); }, scratch_data(), copy_data()); std::cout << "result: " << result << std::endl; -- 2.39.5