Revert "fix building with fmt11 and GCC"

This reverts commit 372c314f06.
It broke formatting in an attempt to fix GCC builds.
Some other change (perhaps dependency updates) has resolved the issue.
This commit is contained in:
goeiecool9999 2025-04-27 16:53:59 +02:00
parent b089ae5b32
commit a5f3558b79
2 changed files with 9 additions and 9 deletions

View file

@ -140,7 +140,7 @@ bool gameProfile_loadEnumOption(IniParser& iniParser, const char* optionName, T&
for(const T& v : T())
{
// test integer option
if (boost::iequals(fmt::format("{}", fmt::underlying(v)), *option_value))
if (boost::iequals(fmt::format("{}", static_cast<typename std::underlying_type<T>::type>(v)), *option_value))
{
option = v;
return true;