Skip to content

Commit

Permalink
Fix building against fmt 11.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
abouvier committed Jan 14, 2025
1 parent eab1b24 commit 2b060a5
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("{}", v), *option_value))
if(boost::iequals(fmt::format("{}", fmt::underlying(v)), *option_value))
{
option = v;
return true;
Expand Down

0 comments on commit 2b060a5

Please sign in to comment.