diff options
author | LC <mathew1800@gmail.com> | 2020-06-19 21:17:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 21:17:04 +0200 |
commit | 8434630dcc42b65efacecdc3caa49adb4115b88e (patch) | |
tree | 0717f95e8beda4396b754330a77a427793a387ac | |
parent | Merge pull request #4080 from ogniK5377/audren-RendererInfo (diff) | |
parent | input_common/motion_emu: Remove redundant move (diff) | |
download | yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar.gz yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar.bz2 yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar.lz yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar.xz yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.tar.zst yuzu-8434630dcc42b65efacecdc3caa49adb4115b88e.zip |
-rw-r--r-- | src/core/file_sys/system_archive/mii_model.cpp | 2 | ||||
-rw-r--r-- | src/input_common/keyboard.cpp | 2 | ||||
-rw-r--r-- | src/input_common/motion_emu.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/system_archive/mii_model.cpp b/src/core/file_sys/system_archive/mii_model.cpp index 6a9add87c..61bb67945 100644 --- a/src/core/file_sys/system_archive/mii_model.cpp +++ b/src/core/file_sys/system_archive/mii_model.cpp @@ -40,7 +40,7 @@ VirtualDir MiiModel() { out->AddFile(std::make_shared<ArrayVfsFile<MiiModelData::SHAPE_MID.size()>>( MiiModelData::SHAPE_MID, "ShapeMid.dat")); - return std::move(out); + return out; } } // namespace FileSys::SystemArchive diff --git a/src/input_common/keyboard.cpp b/src/input_common/keyboard.cpp index 078374be5..afb8e6612 100644 --- a/src/input_common/keyboard.cpp +++ b/src/input_common/keyboard.cpp @@ -76,7 +76,7 @@ std::unique_ptr<Input::ButtonDevice> Keyboard::Create(const Common::ParamPackage int key_code = params.Get("code", 0); std::unique_ptr<KeyButton> button = std::make_unique<KeyButton>(key_button_list); key_button_list->AddKeyButton(key_code, button.get()); - return std::move(button); + return button; } void Keyboard::PressKey(int key_code) { 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 // 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) { |