summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-12 21:38:16 +0200
committerLioncash <mathew1800@gmail.com>2020-07-12 21:38:19 +0200
commit32b6fc40622a838d4785d5e2dbea4ee17447c362 (patch)
treecd599317271b946d8786974a4d99cb8c04e4b0a2 /src/input_common
parentgc_adapter: Silence sign conversion warnings (diff)
downloadyuzu-32b6fc40622a838d4785d5e2dbea4ee17447c362.tar
yuzu-32b6fc40622a838d4785d5e2dbea4ee17447c362.tar.gz
yuzu-32b6fc40622a838d4785d5e2dbea4ee17447c362.tar.bz2
yuzu-32b6fc40622a838d4785d5e2dbea4ee17447c362.tar.lz
yuzu-32b6fc40622a838d4785d5e2dbea4ee17447c362.tar.xz
yuzu-32b6fc40622a838d4785d5e2dbea4ee17447c362.tar.zst
yuzu-32b6fc40622a838d4785d5e2dbea4ee17447c362.zip
Diffstat (limited to 'src/input_common')
-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 9fa170711..70d382bcf 100644
--- a/src/input_common/gcadapter/gc_adapter.cpp
+++ b/src/input_common/gcadapter/gc_adapter.cpp
@@ -198,7 +198,7 @@ void Adapter::StartScanThread() {
}
detect_thread_running = true;
- detect_thread = std::thread([=] { ScanThreadFunc(); });
+ detect_thread = std::thread(&Adapter::ScanThreadFunc, this);
}
void Adapter::StopScanThread() {