diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/DevTools/HackStudio/AutoCompleteResponse.h | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibCore/DateTime.h | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibGfx/Color.cpp | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/Cookie/ParsedCookie.cpp | 4 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/Cookie/ParsedCookie.h | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/Userland/DevTools/HackStudio/AutoCompleteResponse.h b/Userland/DevTools/HackStudio/AutoCompleteResponse.h index 9a567568be..2725a08baf 100644 --- a/Userland/DevTools/HackStudio/AutoCompleteResponse.h +++ b/Userland/DevTools/HackStudio/AutoCompleteResponse.h @@ -16,7 +16,7 @@ namespace IPC { template<> -inline bool encode(IPC::Encoder& encoder, const GUI::AutocompleteProvider::Entry& response) +inline bool encode(Encoder& encoder, const GUI::AutocompleteProvider::Entry& response) { encoder << response.completion; encoder << response.partial_input_length; @@ -27,7 +27,7 @@ inline bool encode(IPC::Encoder& encoder, const GUI::AutocompleteProvider::Entry } template<> -inline ErrorOr<void> decode(IPC::Decoder& decoder, GUI::AutocompleteProvider::Entry& response) +inline ErrorOr<void> decode(Decoder& decoder, GUI::AutocompleteProvider::Entry& response) { TRY(decoder.decode(response.completion)); TRY(decoder.decode(response.partial_input_length)); diff --git a/Userland/Libraries/LibCore/DateTime.h b/Userland/Libraries/LibCore/DateTime.h index f8c35f133d..1e8cb3af6d 100644 --- a/Userland/Libraries/LibCore/DateTime.h +++ b/Userland/Libraries/LibCore/DateTime.h @@ -54,7 +54,7 @@ private: namespace IPC { -bool encode(IPC::Encoder&, Core::DateTime const&); -ErrorOr<void> decode(IPC::Decoder&, Core::DateTime&); +bool encode(Encoder&, Core::DateTime const&); +ErrorOr<void> decode(Decoder&, Core::DateTime&); } diff --git a/Userland/Libraries/LibGfx/Color.cpp b/Userland/Libraries/LibGfx/Color.cpp index d0fe3a642b..7d76698d9d 100644 --- a/Userland/Libraries/LibGfx/Color.cpp +++ b/Userland/Libraries/LibGfx/Color.cpp @@ -336,13 +336,13 @@ Vector<Color> Color::tints(u32 steps, float max) const } -bool IPC::encode(IPC::Encoder& encoder, Color const& color) +bool IPC::encode(Encoder& encoder, Color const& color) { encoder << color.value(); return true; } -ErrorOr<void> IPC::decode(IPC::Decoder& decoder, Color& color) +ErrorOr<void> IPC::decode(Decoder& decoder, Color& color) { u32 rgba; TRY(decoder.decode(rgba)); diff --git a/Userland/Libraries/LibWeb/Cookie/ParsedCookie.cpp b/Userland/Libraries/LibWeb/Cookie/ParsedCookie.cpp index fd06e2949b..5bd22141de 100644 --- a/Userland/Libraries/LibWeb/Cookie/ParsedCookie.cpp +++ b/Userland/Libraries/LibWeb/Cookie/ParsedCookie.cpp @@ -333,7 +333,7 @@ Optional<Core::DateTime> parse_date_time(StringView date_string) } -bool IPC::encode(IPC::Encoder& encoder, Web::Cookie::ParsedCookie const& cookie) +bool IPC::encode(Encoder& encoder, Web::Cookie::ParsedCookie const& cookie) { encoder << cookie.name; encoder << cookie.value; @@ -347,7 +347,7 @@ bool IPC::encode(IPC::Encoder& encoder, Web::Cookie::ParsedCookie const& cookie) return true; } -ErrorOr<void> IPC::decode(IPC::Decoder& decoder, Web::Cookie::ParsedCookie& cookie) +ErrorOr<void> IPC::decode(Decoder& decoder, Web::Cookie::ParsedCookie& cookie) { TRY(decoder.decode(cookie.name)); TRY(decoder.decode(cookie.value)); diff --git a/Userland/Libraries/LibWeb/Cookie/ParsedCookie.h b/Userland/Libraries/LibWeb/Cookie/ParsedCookie.h index 2d293c3fa2..d094504a6a 100644 --- a/Userland/Libraries/LibWeb/Cookie/ParsedCookie.h +++ b/Userland/Libraries/LibWeb/Cookie/ParsedCookie.h @@ -30,7 +30,7 @@ Optional<ParsedCookie> parse_cookie(String const& cookie_string); namespace IPC { -bool encode(IPC::Encoder&, Web::Cookie::ParsedCookie const&); -ErrorOr<void> decode(IPC::Decoder&, Web::Cookie::ParsedCookie&); +bool encode(Encoder&, Web::Cookie::ParsedCookie const&); +ErrorOr<void> decode(Decoder&, Web::Cookie::ParsedCookie&); } |