diff options
Diffstat (limited to 'src/input_common/gcadapter/gc_adapter.cpp')
| -rw-r--r-- | src/input_common/gcadapter/gc_adapter.cpp | 2 |
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() { | |||
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | detect_thread_running = true; | 200 | detect_thread_running = true; |
| 201 | detect_thread = std::thread([=] { ScanThreadFunc(); }); | 201 | detect_thread = std::thread(&Adapter::ScanThreadFunc, this); |
| 202 | } | 202 | } |
| 203 | 203 | ||
| 204 | void Adapter::StopScanThread() { | 204 | void Adapter::StopScanThread() { |