aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-19 14:29:59 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-19 14:29:59 +0100
commitb26ff8fa866032940b7ad00a3b067993effcba6f (patch)
tree0717f95e8beda4396b754330a77a427793a387ac /src
parent38f25284c8ba37c30c8d60b22eaff1f8972145e9 (diff)
input_common/motion_emu: Remove redundant move
Named return value optimization automatically applies here.
Diffstat (limited to 'src')
-rw-r--r--src/input_common/motion_emu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/motion_emu.cpp b/src/input_common/motion_emu.cpp
index 8682516285..d4cdf76a3f 100644
--- a/src/input_common/motion_emu.cpp
+++ b/src/input_common/motion_emu.cpp
@@ -145,7 +145,7 @@ std::unique_ptr<Input::MotionDevice> MotionEmu::Create(const Common::ParamPackag
// Previously created device is disconnected here. Having two motion devices for 3DS is not
// expected.
current_device = device_wrapper->device;
- return std::move(device_wrapper);
+ return device_wrapper;
}
void MotionEmu::BeginTilt(int x, int y) {