Codechange: Redundant use of char * and c_str(). (#11454)

This commit is contained in:
Peter Nelson
2023-11-10 00:17:36 +00:00
committed by GitHub
parent 938c8339d2
commit 1071acb483
6 changed files with 11 additions and 11 deletions

View File

@@ -1552,7 +1552,7 @@ void DeleteGRFPresetFromConfig(const char *config_name)
section += config_name;
ConfigIniFile ini(_config_file);
ini.RemoveGroup(section.c_str());
ini.RemoveGroup(section);
ini.SaveToDisk(_config_file);
}