Fix compilation on OSX
This commit is contained in:
parent
1c20c4c43d
commit
84e8081413
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue