forked from teamnwah/openmw-tes3coop
Fix attempt to erase using a const_iterator.
This commit is contained in:
parent
36aa4aa9bd
commit
6b28955f31
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue