diff options
author | Brad King <brad.king@kitware.com> | 2016-06-16 13:46:54 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-06-16 13:46:54 (GMT) |
commit | 0e523d0612f50373486c2c2360004bb8ce859f92 (patch) | |
tree | 6194d2f6871bda094e9eb86a0a1f29ce9644f2a5 /Source/cmGeneratedFileStream.cxx | |
parent | 993991a07de48079233b3a04902a1f34ddfb97df (diff) | |
parent | ed5fa48d50ea0605b47598ff5b1d765548e8d638 (diff) | |
download | CMake-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.cxx | 2 |
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. |