summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-25 09:35:40 +0200
committerLioncash <mathew1800@gmail.com>2020-07-25 09:35:40 +0200
commite19972dfc4697f765cc8008a2b202b407f939551 (patch)
treeaa4f109fb251b7b80ecf135e49d6becda3e0ca15 /src/input_common/gcadapter
parentMerge pull request #4383 from ogniK5377/dark-checkbox (diff)
downloadyuzu-e19972dfc4697f765cc8008a2b202b407f939551.tar
yuzu-e19972dfc4697f765cc8008a2b202b407f939551.tar.gz
yuzu-e19972dfc4697f765cc8008a2b202b407f939551.tar.bz2
yuzu-e19972dfc4697f765cc8008a2b202b407f939551.tar.lz
yuzu-e19972dfc4697f765cc8008a2b202b407f939551.tar.xz
yuzu-e19972dfc4697f765cc8008a2b202b407f939551.tar.zst
yuzu-e19972dfc4697f765cc8008a2b202b407f939551.zip
Diffstat (limited to 'src/input_common/gcadapter')
-rw-r--r--src/input_common/gcadapter/gc_poller.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp
index 96e22d3ad..65454cb42 100644
--- a/src/input_common/gcadapter/gc_poller.cpp
+++ b/src/input_common/gcadapter/gc_poller.cpp
@@ -76,8 +76,7 @@ std::unique_ptr<Input::ButtonDevice> GCButtonFactory::Create(const Common::Param
// button is not an axis/stick button
if (button_id != PAD_STICK_ID) {
- auto button = std::make_unique<GCButton>(port, button_id, adapter.get());
- return std::move(button);
+ return std::make_unique<GCButton>(port, button_id, adapter.get());
}
// For Axis buttons, used by the binary sticks.