summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2019-05-10 19:16:40 -0700
committerGitHub <noreply@github.com>2019-05-10 19:16:40 -0700
commit3ab06dcd02ea6040c2620a8ce8be144c65534c2d (patch)
treed695cb4bb2c7f9573c99ee91bfcc54bad81f98dc /Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp
parent46561cc242237c22fe24b6c990fbaeaba241f8fd (diff)
parent374585f12806886f9ad8b117dfc4811033dad4f3 (diff)
Merge pull request #8016 from jordan-woyak/emu-wm-ir-rename
WiimoteEmu/DolphinQt: Rename "IR" to "Point" and eliminate redundant Forward/Backward actions.
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_)
{
}