]> git.saurik.com Git - wxWidgets.git/commitdiff
don't write wide string to std::ostream which outputs them as pointer values
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 16 Jan 2008 22:15:18 +0000 (22:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 16 Jan 2008 22:15:18 +0000 (22:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/datetime/datetimetest.cpp

index 1348406fbf9ce7951bb82908ebe8527cdb7bc0eb..9954829477b3cb11ec5089dd848d85828d775262 100644 (file)
@@ -27,7 +27,7 @@
 // need this to be able to use CPPUNIT_ASSERT_EQUAL with wxDateTime objects
 static std::ostream& operator<<(std::ostream& ostr, const wxDateTime& dt)
 {
-    ostr << dt.FormatISODate() << _T(" ") << dt.FormatISOTime();
+    ostr << dt.FormatISODate() << " " << dt.FormatISOTime();
 
     return ostr;
 }