mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
LibDraw: Add LogStream operator<< overload for Color.
This commit is contained in:
parent
66646081b7
commit
528d8d49dc
1 changed files with 5 additions and 0 deletions
|
@ -141,3 +141,8 @@ private:
|
|||
|
||||
RGBA32 m_value { 0 };
|
||||
};
|
||||
|
||||
inline const LogStream& operator<<(const LogStream& stream, Color value)
|
||||
{
|
||||
return stream << value.to_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue