Przeglądaj źródła

settings_setting: Fix MSVC error

lat9nq 3 lat temu
rodzic
commit
c97cbd089b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/common/settings_setting.h

+ 1 - 1
src/common/settings_setting.h

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