diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-18 15:42:59 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 10:56:55 -0400 |
| commit | b187a3c2148785524ed3ead9355a47733da0ae18 (patch) | |
| tree | 41908aa9f566a587fedc6053ebda9b5798ecee28 /src/common/settings_setting.h | |
| parent | 5e52526942a52935e373a4840dd27f5d0dabe03f (diff) | |
common,configure_system: Rename method to GetCategory
Fixes essentially a shadowing issue.
Diffstat (limited to 'src/common/settings_setting.h')
| -rw-r--r-- | src/common/settings_setting.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/settings_setting.h b/src/common/settings_setting.h index 959b4f3f9e..55280fec4f 100644 --- a/src/common/settings_setting.h +++ b/src/common/settings_setting.h @@ -40,7 +40,7 @@ public: * @param other_setting_ A second Setting to associate to this one in metadata */ explicit Setting(Linkage& linkage, const Type& default_val, const std::string& name, - enum Category category_, u32 specialization_ = Specialization::Default, + Category category_, u32 specialization_ = Specialization::Default, bool save_ = true, bool runtime_modifiable_ = false, BasicSetting* other_setting_ = nullptr) requires(!ranged) @@ -64,7 +64,7 @@ public: * @param other_setting_ A second Setting to associate to this one in metadata */ explicit Setting(Linkage& linkage, const Type& default_val, const Type& min_val, - const Type& max_val, const std::string& name, enum Category category_, + const Type& max_val, const std::string& name, Category category_, u32 specialization_ = Specialization::Default, bool save_ = true, bool runtime_modifiable_ = false, BasicSetting* other_setting_ = nullptr) requires(ranged) |
