Fix compilation on OSX

This commit is contained in:
tamasmeszaros 2019-09-10 14:00:48 +02:00
parent 1c20c4c43d
commit 84e8081413

View file

@ -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++;
}