diff options
Diffstat (limited to 'Services/ProtocolServer/ClientConnection.cpp')
-rw-r--r-- | Services/ProtocolServer/ClientConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/ProtocolServer/ClientConnection.cpp b/Services/ProtocolServer/ClientConnection.cpp index 21c23d3ec8..2b72ef0025 100644 --- a/Services/ProtocolServer/ClientConnection.cpp +++ b/Services/ProtocolServer/ClientConnection.cpp @@ -35,8 +35,8 @@ namespace ProtocolServer { static HashMap<int, RefPtr<ClientConnection>> s_connections; -ClientConnection::ClientConnection(Core::LocalSocket& socket, int client_id) - : IPC::ClientConnection<ProtocolServerEndpoint>(*this, socket, client_id) +ClientConnection::ClientConnection(NonnullRefPtr<Core::LocalSocket> socket, int client_id) + : IPC::ClientConnection<ProtocolServerEndpoint>(*this, move(socket), client_id) { s_connections.set(client_id, *this); } |