Codechange: rewrite script string-to-settings conversion to C++

This commit is contained in:
Rubidium
2023-05-06 12:44:47 +02:00
committed by rubidium42
parent 552d2f71a2
commit 48825e1a8e
4 changed files with 20 additions and 23 deletions

View File

@@ -127,7 +127,7 @@ public:
/**
* Set the value of a setting for this config.
*/
void SetSetting(const std::string &name, int value);
void SetSetting(const std::string_view name, int value);
/**
* Reset all settings to their default value.