diff options
| author | JosJuice <josjuice@gmail.com> | 2017-02-11 09:25:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-11 09:25:39 +0100 |
| commit | d4ec178e0b5c9e1fa08554fe34f4af679b234d7a (patch) | |
| tree | 5262e2b37c128202a8fdee74c73ccf2ff1c9544a /Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp | |
| parent | 2cad67952d611c15b7b040512c53af27243235c3 (diff) | |
| parent | fda235b6e3a87397431350cecbdd9e1842c7247d (diff) | |
Merge pull request #4893 from lioncash/delegation
Buttons: Use a delegating constructor
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp index 55e4532e7a..ef3ca79a0f 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp @@ -11,9 +11,8 @@ namespace ControllerEmu { -Buttons::Buttons(const std::string& name_) : ControlGroup(name_, name_, GROUP_TYPE_BUTTONS) +Buttons::Buttons(const std::string& name_) : Buttons(name_, name_) { - numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Threshold"), 0.5)); } Buttons::Buttons(const std::string& ini_name, const std::string& group_name) |
