summaryrefslogtreecommitdiff
path: root/Userland/Services/RequestServer
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-02 05:20:28 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-02 08:11:38 +0200
commit889359b6f99a8ff043680ec5594dc369a9a372d9 (patch)
tree17eadf108b44ea2501f789583ba82fb940bda1fa /Userland/Services/RequestServer
parent7cf2839a262a38e00f110bee1102020c658ac476 (diff)
downloadserenity-889359b6f99a8ff043680ec5594dc369a9a372d9.zip
Userland: Make IPC handlers return void if they don't have any outputs
Diffstat (limited to 'Userland/Services/RequestServer')
-rw-r--r--Userland/Services/RequestServer/ClientConnection.cpp3
-rw-r--r--Userland/Services/RequestServer/ClientConnection.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/Userland/Services/RequestServer/ClientConnection.cpp b/Userland/Services/RequestServer/ClientConnection.cpp
index 38ab575cff..916948606a 100644
--- a/Userland/Services/RequestServer/ClientConnection.cpp
+++ b/Userland/Services/RequestServer/ClientConnection.cpp
@@ -100,9 +100,8 @@ void ClientConnection::did_request_certificates(Badge<Request>, Request& request
post_message(Messages::RequestClient::CertificateRequested(request.id()));
}
-Messages::RequestServer::GreetResponse ClientConnection::handle(const Messages::RequestServer::Greet&)
+void ClientConnection::handle(const Messages::RequestServer::Greet&)
{
- return {};
}
Messages::RequestServer::SetCertificateResponse ClientConnection::handle(const Messages::RequestServer::SetCertificate& message)
diff --git a/Userland/Services/RequestServer/ClientConnection.h b/Userland/Services/RequestServer/ClientConnection.h
index 813dacb8ec..39b59ec73d 100644
--- a/Userland/Services/RequestServer/ClientConnection.h
+++ b/Userland/Services/RequestServer/ClientConnection.h
@@ -31,7 +31,7 @@ public:
void did_request_certificates(Badge<Request>, Request&);
private:
- virtual Messages::RequestServer::GreetResponse handle(const Messages::RequestServer::Greet&) override;
+ virtual void handle(const Messages::RequestServer::Greet&) override;
virtual Messages::RequestServer::IsSupportedProtocolResponse handle(const Messages::RequestServer::IsSupportedProtocol&) override;
virtual Messages::RequestServer::StartRequestResponse handle(const Messages::RequestServer::StartRequest&) override;
virtual Messages::RequestServer::StopRequestResponse handle(const Messages::RequestServer::StopRequest&) override;