diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-02 05:20:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-02 08:11:38 +0200 |
commit | 889359b6f99a8ff043680ec5594dc369a9a372d9 (patch) | |
tree | 17eadf108b44ea2501f789583ba82fb940bda1fa /Userland/Services/SymbolServer | |
parent | 7cf2839a262a38e00f110bee1102020c658ac476 (diff) | |
download | serenity-889359b6f99a8ff043680ec5594dc369a9a372d9.zip |
Userland: Make IPC handlers return void if they don't have any outputs
Diffstat (limited to 'Userland/Services/SymbolServer')
-rw-r--r-- | Userland/Services/SymbolServer/ClientConnection.cpp | 3 | ||||
-rw-r--r-- | Userland/Services/SymbolServer/ClientConnection.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Userland/Services/SymbolServer/ClientConnection.cpp b/Userland/Services/SymbolServer/ClientConnection.cpp index d6d2baaecb..b0b370d5ed 100644 --- a/Userland/Services/SymbolServer/ClientConnection.cpp +++ b/Userland/Services/SymbolServer/ClientConnection.cpp @@ -35,9 +35,8 @@ void ClientConnection::die() s_connections.remove(client_id()); } -Messages::SymbolServer::GreetResponse ClientConnection::handle(const Messages::SymbolServer::Greet&) +void ClientConnection::handle(const Messages::SymbolServer::Greet&) { - return {}; } Messages::SymbolServer::SymbolicateResponse ClientConnection::handle(const Messages::SymbolServer::Symbolicate& message) diff --git a/Userland/Services/SymbolServer/ClientConnection.h b/Userland/Services/SymbolServer/ClientConnection.h index 6bcba29f03..6744fa2652 100644 --- a/Userland/Services/SymbolServer/ClientConnection.h +++ b/Userland/Services/SymbolServer/ClientConnection.h @@ -27,7 +27,7 @@ public: virtual void die() override; private: - virtual Messages::SymbolServer::GreetResponse handle(const Messages::SymbolServer::Greet&) override; + virtual void handle(const Messages::SymbolServer::Greet&) override; virtual Messages::SymbolServer::SymbolicateResponse handle(const Messages::SymbolServer::Symbolicate&) override; }; |