diff options
Diffstat (limited to 'src/common/settings.h')
-rw-r--r-- | src/common/settings.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 4ca8299b3..e60105059 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -143,6 +143,7 @@ enum class Category : u32 { AddOns, Controls, Ui, + UiGeneral, UiLayout, UiGameList, Screenshots, @@ -209,8 +210,10 @@ public: class Linkage { public: - std::map<Category, std::forward_list<BasicSetting*>> by_category; - std::vector<std::function<void()>> restore_functions; + explicit Linkage(); + ~Linkage(); + std::map<Category, std::forward_list<BasicSetting*>> by_category{}; + std::vector<std::function<void()>> restore_functions{}; u32 count; }; |