Codechange: Dereference with x-> instead of (*x). (#14700)

This commit is contained in:
Peter Nelson
2025-10-05 15:47:33 +01:00
committed by dP
parent 47ab2d3bb5
commit 962ac9fcbf
12 changed files with 19 additions and 19 deletions

View File

@@ -85,7 +85,7 @@ int ScriptConfig::GetSetting(const std::string &name) const
{
const auto it = this->settings.find(name);
if (it == this->settings.end()) return this->info->GetSettingDefaultValue(name);
return (*it).second;
return it->second;
}
void ScriptConfig::SetSetting(std::string_view name, int value)