Fixed enum_helper.h errors.

This commit is contained in:
Alexander Shaduri
2024-05-02 13:46:49 +04:00
parent 589263e902
commit 228bcf5014
+1 -1
View File
@@ -96,7 +96,7 @@ class EnumHelper {
static std::unordered_map<std::string, EnumType> build_storable_enum_map()
{
std::unordered_map<std::string, EnumType> m;
for (const auto& [data, enum_value] : EnumExtClass::get_enum_static_map()) {
for (const auto& [enum_value, data] : EnumExtClass::get_enum_static_map()) {
m.emplace(data.first, enum_value);
}
return m;