|
From: <pst...@us...> - 2011-08-05 20:37:38
|
Revision: 887
http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=887&view=rev
Author: pstieber
Date: 2011-08-05 20:37:32 +0000 (Fri, 05 Aug 2011)
Log Message:
-----------
Changed c_str() to wx_str() due to Microsoft template specializations.
Modified Paths:
--------------
trunk/jazz/src/Configuration.cpp
Modified: trunk/jazz/src/Configuration.cpp
===================================================================
--- trunk/jazz/src/Configuration.cpp 2011-08-05 20:33:45 UTC (rev 886)
+++ trunk/jazz/src/Configuration.cpp 2011-08-05 20:37:32 UTC (rev 887)
@@ -553,7 +553,7 @@
return false;
}
- ifstream Ifs(FileName.c_str());
+ ifstream Ifs(FileName.wx_str());
if (!Ifs)
{
return false;
@@ -642,7 +642,7 @@
return false;
}
- ifstream Ifs(FileName.c_str());
+ ifstream Ifs(FileName.wx_str());
if (!Ifs)
{
return false;
@@ -734,7 +734,7 @@
<< " \"" << mFileName << '"'
<< endl;
- ifstream* pIs = new ifstream(mFileName.c_str());
+ ifstream* pIs = new ifstream(mFileName.wx_str());
InputFileStreams.push(pIs);
if (!*InputFileStreams.top())
@@ -848,7 +848,7 @@
}
else
{
- pIs = new ifstream(IncludeFileName.c_str());
+ pIs = new ifstream(IncludeFileName.wx_str());
InputFileStreams.push(pIs);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|