This commit is contained in:
DarthArgus
2016-12-21 07:21:41 +00:00
parent abd34e0e99
commit 4b40913c1d
4 changed files with 24 additions and 24 deletions
@@ -230,7 +230,7 @@ void Persister::onFrameBarrierReached()
for (ObjectSnapshotMap::iterator obj=m_objectSnapshotMap.begin(); obj!=m_objectSnapshotMap.end();)
{
if (obj->second == i->second)
m_objectSnapshotMap.erase(obj++);
obj = m_objectSnapshotMap.erase(obj);
else
++obj;
}