Codechange: use const for std::string_view where appropriate
This commit is contained in:
@@ -88,7 +88,7 @@ int ScriptConfig::GetSetting(const std::string &name) const
|
||||
return (*it).second;
|
||||
}
|
||||
|
||||
void ScriptConfig::SetSetting(const std::string_view name, int value)
|
||||
void ScriptConfig::SetSetting(std::string_view name, int value)
|
||||
{
|
||||
/* You can only set Script specific settings if an Script is selected. */
|
||||
if (this->info == nullptr) return;
|
||||
|
||||
Reference in New Issue
Block a user