Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

input_common/motion_emu: Remove redundant move

MerryMageb26ff8fa8660
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) {