Fix building against fmt 11.1.0

This commit is contained in:
Alexandre Bouvier 2025-01-14 06:24:35 +01:00
parent eab1b24320
commit 2b060a53be

View file

@ -147,7 +147,7 @@ bool gameProfile_loadEnumOption(IniParser& iniParser, const char* optionName, T&
} }
// test enum name // test enum name
if(boost::iequals(fmt::format("{}", v), *option_value)) if(boost::iequals(fmt::format("{}", fmt::underlying(v)), *option_value))
{ {
option = v; option = v;
return true; return true;