summaryrefslogtreecommitdiff
path: root/src/common/settings_common.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-19 13:46:48 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:55 -0400
commit2911988b852ec29016780aabb1f46e2d0c231744 (patch)
treeee8e0c2838ab83bb68c931bc3023b13f7c1a6322 /src/common/settings_common.h
parentffb384463f1f12264dbd8ad8827a8b42115921aa (diff)
settings_common: Use a vector in category linkage
Improve storage requirements.
Diffstat (limited to 'src/common/settings_common.h')
-rw-r--r--src/common/settings_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings_common.h b/src/common/settings_common.h
index a7630a97f..bfd1bad64 100644
--- a/src/common/settings_common.h
+++ b/src/common/settings_common.h
@@ -66,7 +66,7 @@ class Linkage {
public:
explicit Linkage(u32 initial_count = 0);
~Linkage();
- std::map<Category, std::forward_list<BasicSetting*>> by_category{};
+ std::map<Category, std::vector<BasicSetting*>> by_category{};
std::vector<std::function<void()>> restore_functions{};
u32 count;
};