mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Make ControllerEmu::BooleanSetting non-virtual
This commit is contained in:
@ -19,8 +19,6 @@ BooleanSetting::BooleanSetting(const std::string& setting_name, const bool defau
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
BooleanSetting::~BooleanSetting() = default;
|
|
||||||
|
|
||||||
bool BooleanSetting::GetValue() const
|
bool BooleanSetting::GetValue() const
|
||||||
{
|
{
|
||||||
return m_value;
|
return m_value;
|
||||||
|
@ -18,10 +18,9 @@ public:
|
|||||||
const bool default_value, const SettingType setting_type = SettingType::NORMAL);
|
const bool default_value, const SettingType setting_type = SettingType::NORMAL);
|
||||||
BooleanSetting(const std::string& setting_name, const bool default_value,
|
BooleanSetting(const std::string& setting_name, const bool default_value,
|
||||||
const SettingType setting_type = SettingType::NORMAL);
|
const SettingType setting_type = SettingType::NORMAL);
|
||||||
virtual ~BooleanSetting();
|
|
||||||
|
|
||||||
virtual bool GetValue() const;
|
bool GetValue() const;
|
||||||
virtual void SetValue(bool value);
|
void SetValue(bool value);
|
||||||
const SettingType m_type;
|
const SettingType m_type;
|
||||||
const std::string m_name;
|
const std::string m_name;
|
||||||
const std::string m_ui_name;
|
const std::string m_ui_name;
|
||||||
|
Reference in New Issue
Block a user