summaryrefslogtreecommitdiff
path: root/src/input_common/motion_emu.cpp
diff options
context:
space:
mode:
authorGravatar LC2020-06-19 15:17:04 -0400
committerGravatar GitHub2020-06-19 15:17:04 -0400
commit8434630dcc42b65efacecdc3caa49adb4115b88e (patch)
tree0717f95e8beda4396b754330a77a427793a387ac /src/input_common/motion_emu.cpp
parentMerge pull request #4080 from ogniK5377/audren-RendererInfo (diff)
parentinput_common/motion_emu: Remove redundant move (diff)
downloadyuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar.gz
yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar.xz
yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.zip
Merge pull request #4114 from MerryMage/nrvo
Remove redundant moves
Diffstat (limited to 'src/input_common/motion_emu.cpp')
-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
145 // Previously created device is disconnected here. Having two motion devices for 3DS is not 145 // Previously created device is disconnected here. Having two motion devices for 3DS is not
146 // expected. 146 // expected.
147 current_device = device_wrapper->device; 147 current_device = device_wrapper->device;
148 return std::move(device_wrapper); 148 return device_wrapper;
149} 149}
150 150
151void MotionEmu::BeginTilt(int x, int y) { 151void MotionEmu::BeginTilt(int x, int y) {