1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

Userland: Remove a few gratuitous IPC namespace qualifiers

Spotted this while trying to search for specific IPC encode/decode
implementations. Now they are all the same, so searching is easier.
This commit is contained in:
Valtteri Koskivuori 2022-04-03 15:44:25 +03:00 committed by Linus Groh
parent 85ed64b99c
commit f2c02077ba
5 changed files with 10 additions and 10 deletions

View file

@ -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));