浏览代码

LibGfx: Fix debug-printing colors

The operator has to live in the namespace Gfx.
Sergey Bugaev 5 年之前
父节点
当前提交
f49e83c565
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Libraries/LibGfx/Color.cpp

+ 1 - 1
Libraries/LibGfx/Color.cpp

@@ -432,12 +432,12 @@ Optional<Color> Color::from_string(const StringView& string)
 
 
     return Color(r.value(), g.value(), b.value(), a.value());
     return Color(r.value(), g.value(), b.value(), a.value());
 }
 }
-}
 
 
 const LogStream& operator<<(const LogStream& stream, Color value)
 const LogStream& operator<<(const LogStream& stream, Color value)
 {
 {
     return stream << value.to_string();
     return stream << value.to_string();
 }
 }
+}
 
 
 bool IPC::encode(IPC::Encoder& encoder, const Color& color)
 bool IPC::encode(IPC::Encoder& encoder, const Color& color)
 {
 {