aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings_common.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-18 15:42:59 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:55 -0400
commit1e093767a85ee0fdce6f1619e967a6560963dcf3 (patch)
tree41908aa9f566a587fedc6053ebda9b5798ecee28 /src/common/settings_common.h
parent267f3c7905972ad78713cd92f96e3073ea1c8996 (diff)
common,configure_system: Rename method to GetCategory
Fixes essentially a shadowing issue.
Diffstat (limited to 'src/common/settings_common.h')
-rw-r--r--src/common/settings_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/settings_common.h b/src/common/settings_common.h
index b355384a4..ca218e37b 100644
--- a/src/common/settings_common.h
+++ b/src/common/settings_common.h
@@ -196,7 +196,7 @@ public:
*
* @returns The setting's category
*/
- [[nodiscard]] enum Category Category() const;
+ [[nodiscard]] Category GetCategory() const;
/**
* @returns Extra metadata for data representation in frontend implementations.
@@ -246,9 +246,9 @@ public:
[[nodiscard]] virtual bool UsingGlobal() const;
private:
- const std::string label; ///< The setting's label
- const enum Category category; ///< The setting's category AKA INI group
- const u32 id; ///< Unique integer for the setting
+ const std::string label; ///< The setting's label
+ const Category category; ///< The setting's category AKA INI group
+ const u32 id; ///< Unique integer for the setting
const bool save; ///< Suggests if the setting should be saved and read to a frontend config
const bool
runtime_modifiable; ///< Suggests if the setting can be modified while a guest is running