mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-29 17:44:36 +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_()) {
|
||||
Placer p{bin};
|
||||
p.configure(pcfg);
|
||||
Item cpy{*it};
|
||||
const Item& itm = *it;
|
||||
Item cpy{itm};
|
||||
if (!p.pack(cpy)) it = c.erase(it);
|
||||
else it++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user