Fix for SPE-421 and emergency fix for SPE-422 (needs further investigation)

This commit is contained in:
tamasmeszaros
2018-07-26 12:57:47 +02:00
parent 170034dd15
commit 629108265b
2 changed files with 3 additions and 4 deletions

View File

@@ -61,8 +61,7 @@ public:
while (it != store_.end()) {
Placer p(bin);
if(!p.pack(*it)) {
auto itmp = it++;
store_.erase(itmp);
it = store_.erase(it);
} else it++;
}
}