summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2019-04-20 12:53:13 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2019-05-08 20:27:41 -0500
commit374585f12806886f9ad8b117dfc4811033dad4f3 (patch)
treebdc5407ba8bab7b8342cd8d785234d08dc5d2b4f /Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp
parent5ca993330729935ada1b7c2f027be77994e5fcdd (diff)
WiimoteEmu/DolphinQt: Rename "IR" to "Point" and eliminate redundant Forward/Backward mappings.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp9
1 files changed, 4 insertions, 5 deletions
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_)
{
}