diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-28 11:56:31 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-28 23:14:19 +0100 |
commit | cb9cac4e4002d6f2d5a16c7344dfb5393cec2b56 (patch) | |
tree | daa183f9f73c17d0e72e0d0bd7b89ecbf0f6fdbe /Userland/Libraries/LibGfx/Point.h | |
parent | 8d76eb773f25b1e51ef923734cd355692f014ce5 (diff) | |
download | serenity-cb9cac4e4002d6f2d5a16c7344dfb5393cec2b56.zip |
LibIPC+IPCCompiler+AK: Make IPC value decoders return ErrorOr<void>
This allows us to use TRY() in decoding helpers, leading to a nice
reduction in line count.
Diffstat (limited to 'Userland/Libraries/LibGfx/Point.h')
-rw-r--r-- | Userland/Libraries/LibGfx/Point.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/Point.h b/Userland/Libraries/LibGfx/Point.h index 809a504a43..59fe677106 100644 --- a/Userland/Libraries/LibGfx/Point.h +++ b/Userland/Libraries/LibGfx/Point.h @@ -291,7 +291,7 @@ struct Formatter<Gfx::Point<T>> : Formatter<StringView> { namespace IPC { bool encode(Encoder&, Gfx::IntPoint const&); -bool decode(Decoder&, Gfx::IntPoint&); +ErrorOr<void> decode(Decoder&, Gfx::IntPoint&); } |