2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

input_common/motion_emu: Remove redundant move

Named return value optimization automatically applies here.
This commit is contained in:
MerryMage 2020-06-19 14:29:59 +01:00
parent 8272f53cf9
commit c6a963c48e

View file

@ -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 // Previously created device is disconnected here. Having two motion devices for 3DS is not
// expected. // expected.
current_device = device_wrapper->device; current_device = device_wrapper->device;
return std::move(device_wrapper); return device_wrapper;
} }
void MotionEmu::BeginTilt(int x, int y) { void MotionEmu::BeginTilt(int x, int y) {