mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-12 18:22:56 +01:00
gc_adapter: Resolve C++20 deprecation warning
This commit is contained in:
1 parent
6efd1a2675
commit
bc2f95ea67
1 file changed
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user