summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-19 15:29:36 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-19 15:29:36 +0200
commit8272f53cf925c655e9cde49aaa63ba1766e89c0a (patch)
tree7e0f8b7b8f5daed1a0b5f36fdace390c6b83fa3d /src/input_common
parentmii_model: Remove redundant std::move (diff)
downloadyuzu-8272f53cf925c655e9cde49aaa63ba1766e89c0a.tar
yuzu-8272f53cf925c655e9cde49aaa63ba1766e89c0a.tar.gz
yuzu-8272f53cf925c655e9cde49aaa63ba1766e89c0a.tar.bz2
yuzu-8272f53cf925c655e9cde49aaa63ba1766e89c0a.tar.lz
yuzu-8272f53cf925c655e9cde49aaa63ba1766e89c0a.tar.xz
yuzu-8272f53cf925c655e9cde49aaa63ba1766e89c0a.tar.zst
yuzu-8272f53cf925c655e9cde49aaa63ba1766e89c0a.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
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) {