mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 01:36:13 +08:00
Try to fix build on msvc (perl xs)
This commit is contained in:
parent
b8b462df5e
commit
9606473c16
@ -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…
x
Reference in New Issue
Block a user