From c6a963c48e0a892588060bcc446b579f17fdd19c Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 19 Jun 2020 14:29:59 +0100 Subject: input_common/motion_emu: Remove redundant move Named return value optimization automatically applies here. --- src/input_common/motion_emu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 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) { -- cgit v1.2.3