mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-30 01:54:40 +08:00
Fix compilation on OSX
This commit is contained in:
parent
1c20c4c43d
commit
84e8081413
@ -35,7 +35,8 @@ protected:
|
|||||||
while (it != c.end() && !stopcond_()) {
|
while (it != c.end() && !stopcond_()) {
|
||||||
Placer p{bin};
|
Placer p{bin};
|
||||||
p.configure(pcfg);
|
p.configure(pcfg);
|
||||||
Item cpy{*it};
|
const Item& itm = *it;
|
||||||
|
Item cpy{itm};
|
||||||
if (!p.pack(cpy)) it = c.erase(it);
|
if (!p.pack(cpy)) it = c.erase(it);
|
||||||
else it++;
|
else it++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user