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/ShareableBitmap.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/ShareableBitmap.h')
-rw-r--r-- | Userland/Libraries/LibGfx/ShareableBitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/ShareableBitmap.h b/Userland/Libraries/LibGfx/ShareableBitmap.h index e9616102dd..4601c93224 100644 --- a/Userland/Libraries/LibGfx/ShareableBitmap.h +++ b/Userland/Libraries/LibGfx/ShareableBitmap.h @@ -35,6 +35,6 @@ private: namespace IPC { bool encode(Encoder&, const Gfx::ShareableBitmap&); -bool decode(Decoder&, Gfx::ShareableBitmap&); +ErrorOr<void> decode(Decoder&, Gfx::ShareableBitmap&); } |