From f49e83c5654c8678e78bccf18d086f688982b273 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 2 Jun 2020 21:29:34 +0300 Subject: [PATCH] LibGfx: Fix debug-printing colors The operator has to live in the namespace Gfx. --- Libraries/LibGfx/Color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibGfx/Color.cpp b/Libraries/LibGfx/Color.cpp index 6c335b6189..e141d99818 100644 --- a/Libraries/LibGfx/Color.cpp +++ b/Libraries/LibGfx/Color.cpp @@ -432,12 +432,12 @@ Optional 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) {