diff --git a/Source/Core/InputCommon/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu.cpp index 4ea4b59637..678ae02259 100644 --- a/Source/Core/InputCommon/ControllerEmu.cpp +++ b/Source/Core/InputCommon/ControllerEmu.cpp @@ -103,6 +103,8 @@ void ControllerEmu::ControlGroup::LoadConfig(IniFile::Section* sec, const std::s } } +ControllerEmu::ControlGroup::BooleanSetting::~BooleanSetting() = default; + void ControllerEmu::LoadConfig(IniFile::Section* sec, const std::string& base) { std::string defdev = default_device.ToString(); diff --git a/Source/Core/InputCommon/ControllerEmu.h b/Source/Core/InputCommon/ControllerEmu.h index 147c8c109d..3dc028da15 100644 --- a/Source/Core/InputCommon/ControllerEmu.h +++ b/Source/Core/InputCommon/ControllerEmu.h @@ -107,6 +107,7 @@ public: : m_type(setting_type), m_name(setting_name), m_default_value(default_value) { } + virtual ~BooleanSetting(); virtual bool GetValue() const { return m_value; } virtual void SetValue(bool value) { m_value = value; }