common,configure_system: Rename method to GetCategory

Fixes essentially a shadowing issue.
This commit is contained in:
lat9nq 2023-07-18 15:42:59 -04:00
parent 267f3c7905
commit 1e093767a8
4 changed files with 8 additions and 8 deletions

View file

@ -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)