summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-25 09:38:22 +0200
committerLioncash <mathew1800@gmail.com>2020-07-25 09:38:22 +0200
commitac7e4e2cab7d9a953488d6f26350792251c82ffe (patch)
tree4c61e0f92bc1a8a20cfe981c199a97b34d955557 /src
parentgc_poller: Resolve -Wsign-compare warning (diff)
downloadyuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar
yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar.gz
yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar.bz2
yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar.lz
yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar.xz
yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar.zst
yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/gcadapter/gc_adapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp
index 02d06876f..29ea1f2c7 100644
--- a/src/input_common/gcadapter/gc_adapter.cpp
+++ b/src/input_common/gcadapter/gc_adapter.cpp
@@ -254,7 +254,7 @@ void Adapter::GetGCEndpoint(libusb_device* device) {
sizeof(clear_payload), nullptr, 16);
adapter_thread_running = true;
- adapter_input_thread = std::thread([=] { Read(); }); // Read input
+ adapter_input_thread = std::thread(&Adapter::Read, this);
}
Adapter::~Adapter() {