Fixing Clang warnings 2

This commit is contained in:
Lukas Matena committed 2021-02-08 17:52:29 +01:00
1 parent 0ff0444dcc
commit b85de89751
22 files changed
+70 -107

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ template<> struct _ccr<true>
static void for_each(It from, It to, Fn &&fn, size_t granularity = 1)
{
tbb::parallel_for(tbb::blocked_range{from, to, granularity},
[&fn, from](const auto &range) {
[&fn](const auto &range) {
loop_(range, std::forward<Fn>(fn));
});
}