mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #4728 from lioncash/virtual-dtor
ControllerEmu: Add missing virtual destructor to BooleanSetting
This commit is contained in:
commit
98311cd9f4
@ -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();
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user