mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-26 05:45:35 +00:00
Fixed enum_helper.h errors.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user