diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-14 21:26:16 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-14 21:26:16 (GMT) |
commit | ed5fa48d50ea0605b47598ff5b1d765548e8d638 (patch) | |
tree | 77a796388b20d573605a94c455d89b43c0d4e9ee /Source/cmXMLWriter.cxx | |
parent | 24ab29b882548d9eceeb20d3ecbc5b9cc918bb7c (diff) | |
download | CMake-ed5fa48d50ea0605b47598ff5b1d765548e8d638.zip CMake-ed5fa48d50ea0605b47598ff5b1d765548e8d638.tar.gz CMake-ed5fa48d50ea0605b47598ff5b1d765548e8d638.tar.bz2 |
cmXMLWriter: use ifstream from KWSys
Diffstat (limited to 'Source/cmXMLWriter.cxx')
-rw-r--r-- | Source/cmXMLWriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmXMLWriter.cxx b/Source/cmXMLWriter.cxx index 98c2680..e2dce93d 100644 --- a/Source/cmXMLWriter.cxx +++ b/Source/cmXMLWriter.cxx @@ -14,7 +14,7 @@ #include "cmXMLSafe.h" #include <cassert> -#include <fstream> +#include <cmsys/FStream.hxx> cmXMLWriter::cmXMLWriter(std::ostream& output, std::size_t level) : Output(output) @@ -107,7 +107,7 @@ void cmXMLWriter::ProcessingInstruction(const char* target, const char* data) void cmXMLWriter::FragmentFile(const char* fname) { this->CloseStartElement(); - std::ifstream fin(fname, std::ios::in | std::ios::binary); + cmsys::ifstream fin(fname, std::ios::in | std::ios::binary); this->Output << fin.rdbuf(); } |