Fix building against fmt 11.1.0 (#1474)

This commit is contained in:
Alexandre Bouvier 2025-01-16 11:54:29 +00:00 committed by GitHub
parent eab1b24320
commit 4ac65159ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;