Browse Source

settings_setting: Fix MSVC error

nce_cpp
lat9nq 3 years ago
parent
commit
c2b577b364
  1. 2
      src/common/settings_setting.h

2
src/common/settings_setting.h

@ -170,7 +170,7 @@ public:
} else {
this->SetValue(static_cast<Type>(std::stoll(input)));
}
} catch (std::invalid_argument& e) {
} catch (std::invalid_argument&) {
this->SetValue(this->GetDefault());
}
}

Loading…
Cancel
Save