summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLParser.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-07 14:39:17 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-07 14:39:17 (GMT)
commit3a024ce0d8aeec991297b7997a872093176e373e (patch)
treea9f0f79d5ae489ccb3d352ce71f1d0f8c81354aa /Source/cmXMLParser.cxx
parent91dcc9bef390f6644e1a357ed2226f350742f49b (diff)
parent5730710c86e5b844c48e17e9001647ae0aa841a3 (diff)
downloadCMake-3a024ce0d8aeec991297b7997a872093176e373e.zip
CMake-3a024ce0d8aeec991297b7997a872093176e373e.tar.gz
CMake-3a024ce0d8aeec991297b7997a872093176e373e.tar.bz2
Merge topic 'unicode-fstream'
5730710 Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.
Diffstat (limited to 'Source/cmXMLParser.cxx')
-rw-r--r--Source/cmXMLParser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmXMLParser.cxx b/Source/cmXMLParser.cxx
index 882fc17..0c53440 100644
--- a/Source/cmXMLParser.cxx
+++ b/Source/cmXMLParser.cxx
@@ -10,6 +10,7 @@
See the License for more information.
============================================================================*/
#include "cmXMLParser.h"
+#include <cmsys/FStream.hxx>
#include <cm_expat.h>
#include <ctype.h>
@@ -45,7 +46,7 @@ int cmXMLParser::ParseFile(const char* file)
return 0;
}
- std::ifstream ifs(file);
+ cmsys::ifstream ifs(file);
if ( !ifs )
{
return 0;