Skip to content

Commit

Permalink
Revert "Fix building against fmt 11.1.0 (#1474)"
Browse files Browse the repository at this point in the history
Reverting commit 4ac6515 because game profile enums use the stringifying formatters from config.h and are not supposed to store raw integers
  • Loading branch information
Exzap committed Jan 23, 2025
1 parent 4ac6515 commit 5bd253a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cafe/GameProfile/GameProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ bool gameProfile_loadEnumOption(IniParser& iniParser, const char* optionName, T&
}

// test enum name
if(boost::iequals(fmt::format("{}", fmt::underlying(v)), *option_value))
if(boost::iequals(fmt::format("{}", v), *option_value))
{
option = v;
return true;
Expand Down

0 comments on commit 5bd253a

Please sign in to comment.