From fda235b6e3a87397431350cecbdd9e1842c7247d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Feb 2017 19:52:12 -0500 Subject: [PATCH] Buttons: Use a delegating constructor Basic code deduplication --- Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp | 3 +-- 1 file changed, 1 insertion(+), 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(_trans("Threshold"), 0.5)); } Buttons::Buttons(const std::string& ini_name, const std::string& group_name)