Make ControllerEmu::BooleanSetting non-virtual

This commit is contained in:
Michael Maltese 2017-02-07 18:28:53 -08:00
parent c4ba046aa3
commit 1b0701e988
2 changed files with 2 additions and 5 deletions

View File

@ -19,8 +19,6 @@ BooleanSetting::BooleanSetting(const std::string& setting_name, const bool defau
{
}
BooleanSetting::~BooleanSetting() = default;
bool BooleanSetting::GetValue() const
{
return m_value;

View File

@ -18,10 +18,9 @@ public:
const bool default_value, const SettingType setting_type = SettingType::NORMAL);
BooleanSetting(const std::string& setting_name, const bool default_value,
const SettingType setting_type = SettingType::NORMAL);
virtual ~BooleanSetting();
virtual bool GetValue() const;
virtual void SetValue(bool value);
bool GetValue() const;
void SetValue(bool value);
const SettingType m_type;
const std::string m_name;
const std::string m_ui_name;