From 639206f5deebda3975040bb4dabf663a156ee25a Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Fri, 15 Nov 2024 13:55:35 +0000 Subject: [PATCH] config: use std::map for reverse enum template --- UnleashedRecomp/config_detail.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/config_detail.h b/UnleashedRecomp/config_detail.h index 10ee0def..4928d1db 100644 --- a/UnleashedRecomp/config_detail.h +++ b/UnleashedRecomp/config_detail.h @@ -53,7 +53,7 @@ public: T DefaultValue{}; T Value{ DefaultValue }; std::unordered_map EnumTemplate{}; - std::unordered_map EnumTemplateReverse{}; + std::map EnumTemplateReverse{}; std::function*, const toml::v3::table&)> ReadImpl; std::function*)> ReadCallback;