diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-01-23 05:08:19 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-01-23 05:08:19 -0500 |
| commit | a9da2d9e20ce1655a860ac8d1fd548dce437efa6 (patch) | |
| tree | 5457beace53ff591040dd1470634f483c2685a68 /Source/Core/InputCommon | |
| parent | 4436011c5070b41a5e1b4dc03bd230d4581e43c7 (diff) | |
ControllerEmu: Add missing virtual destructor to BooleanSetting
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu.h | 1 |
2 files changed, 3 insertions, 0 deletions
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; } |
