summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-19 15:29:59 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-19 15:29:59 +0200
commitc6a963c48e0a892588060bcc446b579f17fdd19c (patch)
tree0717f95e8beda4396b754330a77a427793a387ac
parentinput_common/keyboard: Remove redundant move (diff)
downloadyuzu-c6a963c48e0a892588060bcc446b579f17fdd19c.tar
yuzu-c6a963c48e0a892588060bcc446b579f17fdd19c.tar.gz
yuzu-c6a963c48e0a892588060bcc446b579f17fdd19c.tar.bz2
yuzu-c6a963c48e0a892588060bcc446b579f17fdd19c.tar.lz
yuzu-c6a963c48e0a892588060bcc446b579f17fdd19c.tar.xz
yuzu-c6a963c48e0a892588060bcc446b579f17fdd19c.tar.zst
yuzu-c6a963c48e0a892588060bcc446b579f17fdd19c.zip
-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 868251628..d4cdf76a3 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) {