From: Timo Heister Date: Sun, 26 Apr 2020 23:16:40 +0000 (-0400) Subject: remove a std::bind by lambda X-Git-Tag: v9.2.0-rc1~176^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf126cbd56beb7f23f382455cde6642b992ae4c9;p=dealii.git remove a std::bind by lambda part of #9930 --- 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;