1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Fix attempt to erase using a const_iterator.

This commit is contained in:
cc9cii 2015-06-15 10:26:16 +10:00
parent 36aa4aa9bd
commit 6b28955f31

View File

@ -373,7 +373,7 @@ bool Config::GameSettings::writeFileWithComments(QFile &file)
if (settingRegex.indexIn(settingLine) != -1)
{
std::map<QString, std::vector<QString> >::const_iterator i =
std::map<QString, std::vector<QString> >::iterator i =
commentsMap.find(settingRegex.cap(1)+"="+settingRegex.cap(2));
// check if previous removed content item with comments