mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04: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)
|
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));
|
commentsMap.find(settingRegex.cap(1)+"="+settingRegex.cap(2));
|
||||||
|
|
||||||
// check if previous removed content item with comments
|
// check if previous removed content item with comments
|
||||||
|
Loading…
x
Reference in New Issue
Block a user