diff options
| author | 2020-07-25 03:38:22 -0400 | |
|---|---|---|
| committer | 2020-07-25 03:38:22 -0400 | |
| commit | ac7e4e2cab7d9a953488d6f26350792251c82ffe (patch) | |
| tree | 4c61e0f92bc1a8a20cfe981c199a97b34d955557 /src/input_common/gcadapter/gc_adapter.cpp | |
| parent | gc_poller: Resolve -Wsign-compare warning (diff) | |
| download | yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar.gz yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.tar.xz yuzu-ac7e4e2cab7d9a953488d6f26350792251c82ffe.zip | |
gc_adapter: Resolve C++20 deprecation warning
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 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) { | |||
| 254 | sizeof(clear_payload), nullptr, 16); | 254 | sizeof(clear_payload), nullptr, 16); |
| 255 | 255 | ||
| 256 | adapter_thread_running = true; | 256 | adapter_thread_running = true; |
| 257 | adapter_input_thread = std::thread([=] { Read(); }); // Read input | 257 | adapter_input_thread = std::thread(&Adapter::Read, this); |
| 258 | } | 258 | } |
| 259 | 259 | ||
| 260 | Adapter::~Adapter() { | 260 | Adapter::~Adapter() { |