1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00

Do not use an invalid iterator

This commit is contained in:
Andrei Kortunov 2022-07-12 12:45:11 +04:00
parent 9fbcc5df5e
commit 42b9a6daaf

View File

@ -319,7 +319,7 @@ void CSMWorld::InfoCollection::removeRows (int index, int count)
++it;
}
else
iter->second.erase(it);
it = iter->second.erase(it);
}
else
++it;