summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.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/cmExportFileGenerator.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/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index 4543f79..13bff19 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -24,6 +24,7 @@
#include "cmComputeLinkInformation.h"
#include <cmsys/auto_ptr.hxx>
+#include <cmsys/FStream.hxx>
#include <assert.h>
//----------------------------------------------------------------------------
@@ -61,12 +62,12 @@ const char* cmExportFileGenerator::GetMainExportFileName() const
bool cmExportFileGenerator::GenerateImportFile()
{
// Open the output file to generate it.
- cmsys::auto_ptr<std::ofstream> foutPtr;
+ cmsys::auto_ptr<cmsys::ofstream> foutPtr;
if(this->AppendMode)
{
// Open for append.
- cmsys::auto_ptr<std::ofstream>
- ap(new std::ofstream(this->MainImportFile.c_str(), std::ios::app));
+ cmsys::auto_ptr<cmsys::ofstream>
+ ap(new cmsys::ofstream(this->MainImportFile.c_str(), std::ios::app));
foutPtr = ap;
}
else