mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 22:45:45 +00:00
input_common/motion_emu: Remove redundant move
Named return value optimization automatically applies here.
This commit is contained in:
parent
38f25284c8
commit
b26ff8fa86
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue