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:
parent
36aa4aa9bd
commit
6b28955f31
@ -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 New Issue
Block a user