mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 04:41:39 +00:00
config: use std::map for reverse enum template
This commit is contained in:
parent
cd1f9742f5
commit
639206f5de
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ public:
|
|||
T DefaultValue{};
|
||||
T Value{ DefaultValue };
|
||||
std::unordered_map<std::string, T> EnumTemplate{};
|
||||
std::unordered_map<T, std::string> EnumTemplateReverse{};
|
||||
std::map<T, std::string> EnumTemplateReverse{};
|
||||
std::function<void(ConfigDef<T, isMenuOption>*, const toml::v3::table&)> ReadImpl;
|
||||
std::function<void(ConfigDef<T, isMenuOption>*)> ReadCallback;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue