i = modified_blocks.begin();
i != modified_blocks.end(); ++i)
{
- event.modified_blocks.erase(i->first);
+ event.modified_blocks.insert(i->first);
}
}
catch(InvalidPositionException &e){
i = modified_blocks.begin();
i != modified_blocks.end(); ++i)
{
- event.modified_blocks.erase(i->first);
+ event.modified_blocks.insert(i->first);
}
}
catch(InvalidPositionException &e){
i = modified_blocks.begin();
i != modified_blocks.end(); ++i)
{
- event.modified_blocks.erase(i->first);
+ event.modified_blocks.insert(i->first);
}
// Queue event