From: Vadim Zeitlin Date: Sat, 4 Apr 2009 22:33:20 +0000 (+0000) Subject: compilation fix after r60017 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0eb83a1a72be6e6d2a961efe892134d1008f3826 compilation fix after r60017 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index ffeeac6d92..dd3e4a3133 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -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 ); }