Browse Source

LibGfx: Fix debug-printing colors

The operator has to live in the namespace Gfx.
Sergey Bugaev 5 years ago
parent
commit
f49e83c565
1 changed files with 1 additions and 1 deletions
  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());
 }
-}
 
 const LogStream& operator<<(const LogStream& stream, Color value)
 {
     return stream << value.to_string();
 }
+}
 
 bool IPC::encode(IPC::Encoder& encoder, const Color& color)
 {