summaryrefslogtreecommitdiff
path: root/Userland/Services/ImageDecoder
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/ImageDecoder
parent7cf2839a262a38e00f110bee1102020c658ac476 (diff)
downloadserenity-889359b6f99a8ff043680ec5594dc369a9a372d9.zip
Userland: Make IPC handlers return void if they don't have any outputs
Diffstat (limited to 'Userland/Services/ImageDecoder')
-rw-r--r--Userland/Services/ImageDecoder/ClientConnection.cpp3
-rw-r--r--Userland/Services/ImageDecoder/ClientConnection.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/Userland/Services/ImageDecoder/ClientConnection.cpp b/Userland/Services/ImageDecoder/ClientConnection.cpp
index 72bd2edb09..2282f09586 100644
--- a/Userland/Services/ImageDecoder/ClientConnection.cpp
+++ b/Userland/Services/ImageDecoder/ClientConnection.cpp
@@ -30,9 +30,8 @@ void ClientConnection::die()
exit(0);
}
-Messages::ImageDecoderServer::GreetResponse ClientConnection::handle(const Messages::ImageDecoderServer::Greet&)
+void ClientConnection::handle(const Messages::ImageDecoderServer::Greet&)
{
- return {};
}
Messages::ImageDecoderServer::DecodeImageResponse ClientConnection::handle(const Messages::ImageDecoderServer::DecodeImage& message)
diff --git a/Userland/Services/ImageDecoder/ClientConnection.h b/Userland/Services/ImageDecoder/ClientConnection.h
index 0f562ede62..8bbac87576 100644
--- a/Userland/Services/ImageDecoder/ClientConnection.h
+++ b/Userland/Services/ImageDecoder/ClientConnection.h
@@ -27,7 +27,7 @@ public:
virtual void die() override;
private:
- virtual Messages::ImageDecoderServer::GreetResponse handle(const Messages::ImageDecoderServer::Greet&) override;
+ virtual void handle(const Messages::ImageDecoderServer::Greet&) override;
virtual Messages::ImageDecoderServer::DecodeImageResponse handle(const Messages::ImageDecoderServer::DecodeImage&) override;
};