]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix after r60017
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Apr 2009 22:33:20 +0000 (22:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Apr 2009 22:33:20 +0000 (22:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/strings.cpp

index ffeeac6d92d8ee98d7ad4b845bfa82a84f4263c9..dd3e4a3133bd07e5b469e8e5afb12e752777fe32 100644 (file)
@@ -943,9 +943,9 @@ void StringTestCase::ScopedBuffers()
     // but assigning it to wxCharBuffer makes a full copy
     wxCharBuffer buf(sbuf);
     CPPUNIT_ASSERT( buf.data() != literal );
-    CPPUNIT_ASSERT_EQUAL( literal, buf.data() );
+    CPPUNIT_ASSERT_EQUAL( literal, buf );
 
     wxCharBuffer buf2 = sbuf;
     CPPUNIT_ASSERT( buf2.data() != literal );
-    CPPUNIT_ASSERT_EQUAL( literal, buf2.data() );
+    CPPUNIT_ASSERT_EQUAL( literal, buf );
 }