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
tn = tempnam(NULL, "wxfn2");
const wxString tempdir2 = wxString::From8BitData(tn);
free(tn);
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 );
wxON_BLOCK_EXIT1( wxRemoveFile, tempdir2 );