summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratedFileStream.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-16 13:46:54 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-06-16 13:46:54 (GMT)
commit0e523d0612f50373486c2c2360004bb8ce859f92 (patch)
tree6194d2f6871bda094e9eb86a0a1f29ce9644f2a5 /Source/cmGeneratedFileStream.cxx
parent993991a07de48079233b3a04902a1f34ddfb97df (diff)
parented5fa48d50ea0605b47598ff5b1d765548e8d638 (diff)
downloadCMake-0e523d0612f50373486c2c2360004bb8ce859f92.zip
CMake-0e523d0612f50373486c2c2360004bb8ce859f92.tar.gz
CMake-0e523d0612f50373486c2c2360004bb8ce859f92.tar.bz2
Merge topic 'cleanup-streams'
ed5fa48d cmXMLWriter: use ifstream from KWSys 24ab29b8 Prefer istringstream and ostringstream over stringstream. ab8b77dd Remove redundant arguments from fstream constructors eb79fa72 Access std::ios_base with std::ios
Diffstat (limited to 'Source/cmGeneratedFileStream.cxx')
-rw-r--r--Source/cmGeneratedFileStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratedFileStream.cxx b/Source/cmGeneratedFileStream.cxx
index dee174b..c35a1bc 100644
--- a/Source/cmGeneratedFileStream.cxx
+++ b/Source/cmGeneratedFileStream.cxx
@@ -56,7 +56,7 @@ cmGeneratedFileStream& cmGeneratedFileStream::Open(const char* name,
this->Stream::open(this->TempName.c_str(),
std::ios::out | std::ios::binary);
} else {
- this->Stream::open(this->TempName.c_str(), std::ios::out);
+ this->Stream::open(this->TempName.c_str());
}
// Check if the file opened.