Merge branch 'main' into metal

This commit is contained in:
SamoZ256 2025-01-27 20:42:24 +01:00 committed by GitHub
commit 2f9ef596d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 202 additions and 130 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("{}", static_cast<typename std::underlying_type<T>::type>(v)), *option_value))
if (boost::iequals(fmt::format("{}", fmt::underlying(v)), *option_value))
{
option = v;
return true;