2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

gc_adapter: Resolve C++20 deprecation warning

This commit is contained in:
Lioncash 2020-07-25 03:38:22 -04:00
parent 04699c366b
commit ac7e4e2cab

View file

@ -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() {