mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-04-29 06:49:24 -04:00
undo revert of style improvement
This commit is contained in:
parent
a5f3558b79
commit
e6a64aadda
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ bool gameProfile_loadEnumOption(IniParser& iniParser, const char* optionName, T&
|
||||||
for(const T& v : T())
|
for(const T& v : T())
|
||||||
{
|
{
|
||||||
// test integer option
|
// 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;
|
option = v;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue