From cc4852142665fa0fd9ecec521fff2e554c2de9b8 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 14 Jul 2014 17:15:59 +0000 Subject: [PATCH] forgotten commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/asserthelper.cpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/tests/asserthelper.cpp b/tests/asserthelper.cpp index 2b0e91e692..1400f3b71a 100644 --- a/tests/asserthelper.cpp +++ b/tests/asserthelper.cpp @@ -14,16 +14,13 @@ #include "asserthelper.h" -namespace +std::ostream& operator<<(std::ostream& os, const ColourChannel& cc) { - std::ostream& operator<<(std::ostream& os, const ColourChannel& cc) - { - os.width(2); - os.fill('0'); - os << static_cast(cc.m_value); - return os; - } -} // anonymous namespace + os.width(2); + os.fill('0'); + os << static_cast(cc.m_value); + return os; +} std::ostream& operator<<(std::ostream& os, const wxColour& c) {