diff options
Diffstat (limited to 'Services/NotificationServer')
-rw-r--r-- | Services/NotificationServer/ClientConnection.cpp | 2 | ||||
-rw-r--r-- | Services/NotificationServer/ClientConnection.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Services/NotificationServer/ClientConnection.cpp b/Services/NotificationServer/ClientConnection.cpp index f90878efe2..9c6cc8051a 100644 --- a/Services/NotificationServer/ClientConnection.cpp +++ b/Services/NotificationServer/ClientConnection.cpp @@ -34,7 +34,7 @@ namespace NotificationServer { static HashMap<int, RefPtr<ClientConnection>> s_connections; ClientConnection::ClientConnection(NonnullRefPtr<Core::LocalSocket> client_socket, int client_id) - : IPC::ClientConnection<NotificationServerEndpoint>(*this, move(client_socket), client_id) + : IPC::ClientConnection<NotificationClientEndpoint, NotificationServerEndpoint>(*this, move(client_socket), client_id) { s_connections.set(client_id, *this); } diff --git a/Services/NotificationServer/ClientConnection.h b/Services/NotificationServer/ClientConnection.h index 8ea04bbfff..af4e36d0aa 100644 --- a/Services/NotificationServer/ClientConnection.h +++ b/Services/NotificationServer/ClientConnection.h @@ -27,11 +27,12 @@ #pragma once #include <LibIPC/ClientConnection.h> +#include <NotificationServer/NotificationClientEndpoint.h> #include <NotificationServer/NotificationServerEndpoint.h> namespace NotificationServer { -class ClientConnection final : public IPC::ClientConnection<NotificationServerEndpoint> +class ClientConnection final : public IPC::ClientConnection<NotificationClientEndpoint, NotificationServerEndpoint> , public NotificationServerEndpoint { C_OBJECT(ClientConnection) public: |