Fix tests compilation in STL build after r72707.

Add an explicit call to wxString::c_str() as there is no implicit conversion
in STL build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-10-20 14:48:50 +00:00
parent 53a142be94
commit 4213fd51cc

View File

@ -698,7 +698,7 @@ void FileNameTestCase::TestExists()
CPPUNIT_ASSERT( wxFileName::Exists("/dev/log", wxFILE_EXISTS_SOCKET) );
#endif // __LINUX__
wxString fifo = dirTemp.GetPath() + "/fifo";
if (mkfifo(fifo, 0600) == 0)
if (mkfifo(fifo.c_str(), 0600) == 0)
{
wxON_BLOCK_EXIT1(wxRemoveFile, fifo);