LibDraw: Add LogStream operator<< overload for Color.

This commit is contained in:
Andreas Kling 2019-07-23 14:56:17 +02:00
parent 66646081b7
commit 528d8d49dc
Notes: sideshowbarker 2024-07-19 13:05:12 +09:00

View file

@ -141,3 +141,8 @@ private:
RGBA32 m_value { 0 };
};
inline const LogStream& operator<<(const LogStream& stream, Color value)
{
return stream << value.to_string();
}