LookupServer: Remove unused this capture in a lambda function

this was causing CI to fail
This commit is contained in:
Hendiadyoin1 2021-12-01 01:11:30 +01:00 committed by Brian Gianforcaro
commit 713a9ca5f1
Notes: sideshowbarker 2024-07-17 23:16:14 +09:00

View file

@ -73,7 +73,7 @@ LookupServer::LookupServer()
m_mdns = MulticastDNS::construct(this);
m_local_server = Core::LocalServer::construct(this);
m_local_server->on_accept = [this](auto client_socket) {
m_local_server->on_accept = [](auto client_socket) {
static int s_next_client_id = 0;
int client_id = ++s_next_client_id;
IPC::new_client_connection<ClientConnection>(move(client_socket), client_id);