Просмотр исходного кода

settings_setting: Fix MSVC error

lat9nq 3 лет назад
Родитель
Сommit
c97cbd089b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/common/settings_setting.h

+ 1 - 1
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());
         }
     }