mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Make ControllerEmu::BooleanSetting non-virtual
This commit is contained in:
parent
c4ba046aa3
commit
1b0701e988
2 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue