Fix building against fmt 11.1.0 (#1474)
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled

This commit is contained in:
Alexandre Bouvier
2025-01-16 11:54:29 +00:00
committed by GitHub
parent eab1b24320
commit 4ac65159ef

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;