mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-10 03:22:25 +00:00
Fix compilation on OSX
This commit is contained in:
1 parent
1c20c4c43d
commit
84e8081413
1 file changed
+2
-1
@@ -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++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user