mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
LibDraw: Add LogStream operator<< overload for Color.
This commit is contained in:
parent
66646081b7
commit
528d8d49dc
Notes:
sideshowbarker
2024-07-19 13:05:12 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/528d8d49dc9
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
Reference in a new issue