mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
Revert "Fix building against fmt 11.1.0 (#1474)"
Reverting commit 4ac65159ef because game profile enums use the stringifying formatters from config.h and are not supposed to store raw integers
This commit is contained in:
@@ -147,7 +147,7 @@ bool gameProfile_loadEnumOption(IniParser& iniParser, const char* optionName, T&
|
||||
}
|
||||
|
||||
// test enum name
|
||||
if(boost::iequals(fmt::format("{}", fmt::underlying(v)), *option_value))
|
||||
if(boost::iequals(fmt::format("{}", v), *option_value))
|
||||
{
|
||||
option = v;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user