Try to fix build on msvc (perl xs)
This commit is contained in:
parent
b8b462df5e
commit
9606473c16
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
I to,
|
||||
const T &init,
|
||||
MergeFn &&mergefn,
|
||||
AccessFn &&access,
|
||||
AccessFn &&accessfn,
|
||||
size_t granularity = 1
|
||||
)
|
||||
{
|
||||
|
@ -61,7 +61,7 @@ public:
|
|||
tbb::blocked_range{from, to, granularity}, init,
|
||||
[&](const auto &range, T subinit) {
|
||||
T acc = subinit;
|
||||
loop_(range, [&](auto &i) { acc = mergefn(acc, access(i)); });
|
||||
loop_(range, [&](auto &i) { acc = mergefn(acc, accessfn(i)); });
|
||||
return acc;
|
||||
},
|
||||
std::forward<MergeFn>(mergefn));
|
||||
|
|
Loading…
Reference in a new issue