Fix building against fmt 11.1.0 (#1474)

This commit is contained in:
Alexandre Bouvier
2025-01-16 12:54:29 +01:00
committed by GitHub
parent eab1b24320
commit 4ac65159ef
+1 -1
View File
@@ -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;