From 374585f12806886f9ad8b117dfc4811033dad4f3 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 20 Apr 2019 12:53:13 -0500 Subject: WiimoteEmu/DolphinQt: Rename "IR" to "Point" and eliminate redundant Forward/Backward mappings. --- .../Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp') diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp index 4e4d515077..09370a1f0b 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp @@ -15,14 +15,13 @@ namespace ControllerEmu { -ControlGroup::ControlGroup(const std::string& name_, const GroupType type_) - : name(name_), ui_name(name_), type(type_) +ControlGroup::ControlGroup(std::string name_, const GroupType type_) + : name(name_), ui_name(std::move(name_)), type(type_) { } -ControlGroup::ControlGroup(const std::string& name_, const std::string& ui_name_, - const GroupType type_) - : name(name_), ui_name(ui_name_), type(type_) +ControlGroup::ControlGroup(std::string name_, std::string ui_name_, const GroupType type_) + : name(std::move(name_)), ui_name(std::move(ui_name_)), type(type_) { } -- cgit v1.2.3