mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 11:33:35 +00:00
gc_adapter: Resolve C++20 deprecation warning
This commit is contained in:
@@ -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