From fd78ef4715d4afe60a2ddb4bc4080af24ce7946d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 10 Jul 2012 23:50:52 +0000 Subject: [PATCH] Fix unit tests compilation in STL build. Add missing c_str() calls forgotten by r70687. Closes #14472. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/filename/filenametest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index addf9ad49f..638434bc56 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -709,7 +709,7 @@ void FileNameTestCase::TestIsSame() tn = tempnam(NULL, "wxfn2"); const wxString tempdir2 = wxString::From8BitData(tn); free(tn); - CPPUNIT_ASSERT_EQUAL( 0, symlink(tempdir1, tempdir2) ); + CPPUNIT_ASSERT_EQUAL( 0, symlink(tempdir1.c_str(), tempdir2.c_str()) ); wxON_BLOCK_EXIT1( wxRemoveFile, tempdir2 ); -- 2.45.2