mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibGfx: Fix debug-printing colors
The operator has to live in the namespace Gfx.
This commit is contained in:
parent
1e266aec27
commit
f49e83c565
1 changed files with 1 additions and 1 deletions
|
@ -432,12 +432,12 @@ Optional<Color> Color::from_string(const StringView& string)
|
|||
|
||||
return Color(r.value(), g.value(), b.value(), a.value());
|
||||
}
|
||||
}
|
||||
|
||||
const LogStream& operator<<(const LogStream& stream, Color value)
|
||||
{
|
||||
return stream << value.to_string();
|
||||
}
|
||||
}
|
||||
|
||||
bool IPC::encode(IPC::Encoder& encoder, const Color& color)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue