summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-07-19 01:08:54 +0200
committerGitHub <noreply@github.com>2016-07-19 01:08:54 +0200
commit01e99b8a2a2cba23c9fbcf83641170a19b5cb233 (patch)
tree866bbb23ddc15d120249b2644aa006867241b9a5 /Source/Core/InputCommon
parentdac1c2d4feae07949c991e70e264c6b36978fbe7 (diff)
parent0e1aeedb5bd3144c5dc998a63d8c6a527d483fc2 (diff)
Merge pull request #4027 from leoetlino/fix-warnings
Fix warnings
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/ControllerEmu.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu.h b/Source/Core/InputCommon/ControllerEmu.h
index fd5f499159..d9470ca8a9 100644
--- a/Source/Core/InputCommon/ControllerEmu.h
+++ b/Source/Core/InputCommon/ControllerEmu.h
@@ -80,10 +80,11 @@ public:
class NumericSetting
{
public:
- NumericSetting(const std::string& name, const ControlState default_value,
+ NumericSetting(const std::string& setting_name, const ControlState default_value,
const unsigned int low = 0, const unsigned int high = 100,
- const SettingType type = SettingType::NORMAL)
- : m_type(type), m_name(name), m_default_value(default_value), m_low(low), m_high(high)
+ const SettingType setting_type = SettingType::NORMAL)
+ : m_type(setting_type), m_name(setting_name), m_default_value(default_value), m_low(low),
+ m_high(high)
{
}
@@ -99,9 +100,9 @@ public:
class BooleanSetting
{
public:
- BooleanSetting(const std::string& name, const bool default_value,
- const SettingType type = SettingType::NORMAL)
- : m_type(type), m_name(name), m_default_value(default_value)
+ BooleanSetting(const std::string& setting_name, const bool default_value,
+ const SettingType setting_type = SettingType::NORMAL)
+ : m_type(setting_type), m_name(setting_name), m_default_value(default_value)
{
}
@@ -116,8 +117,8 @@ public:
class BackgroundInputSetting : public BooleanSetting
{
public:
- BackgroundInputSetting(const std::string& name)
- : BooleanSetting(name, false, SettingType::VIRTUAL)
+ BackgroundInputSetting(const std::string& setting_name)
+ : BooleanSetting(setting_name, false, SettingType::VIRTUAL)
{
}