diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-09 07:35:25 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 16:56:07 +0200 |
commit | 464aad52cd644bdc32ca4eb35b0ce669c3b30c4f (patch) | |
tree | 17ceb24d150d42fa154343c578062cad6581bd7e /src/common/settings.h | |
parent | config: Don't merge the maps (diff) | |
download | yuzu-464aad52cd644bdc32ca4eb35b0ce669c3b30c4f.tar yuzu-464aad52cd644bdc32ca4eb35b0ce669c3b30c4f.tar.gz yuzu-464aad52cd644bdc32ca4eb35b0ce669c3b30c4f.tar.bz2 yuzu-464aad52cd644bdc32ca4eb35b0ce669c3b30c4f.tar.lz yuzu-464aad52cd644bdc32ca4eb35b0ce669c3b30c4f.tar.xz yuzu-464aad52cd644bdc32ca4eb35b0ce669c3b30c4f.tar.zst yuzu-464aad52cd644bdc32ca4eb35b0ce669c3b30c4f.zip |
Diffstat (limited to '')
-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; }; |