diff options
Diffstat (limited to 'Source/cmGeneratedFileStream.cxx')
-rw-r--r-- | Source/cmGeneratedFileStream.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmGeneratedFileStream.cxx b/Source/cmGeneratedFileStream.cxx index 70d1c77..e8be5fd 100644 --- a/Source/cmGeneratedFileStream.cxx +++ b/Source/cmGeneratedFileStream.cxx @@ -44,7 +44,8 @@ cmGeneratedFileStream::cmGeneratedFileStream(const char* name, bool quiet): // Check if the file opened. if(!*this && !quiet) { - cmSystemTools::Error("Cannot open file for write: ", this->TempName.c_str()); + cmSystemTools::Error("Cannot open file for write: ", + this->TempName.c_str()); cmSystemTools::ReportLastSystemError(""); } } @@ -70,7 +71,8 @@ cmGeneratedFileStream::Open(const char* name, bool quiet, bool binaryFlag) // Open the temporary output file. if ( binaryFlag ) { - this->Stream::open(this->TempName.c_str(), std::ios::out | std::ios::binary); + this->Stream::open(this->TempName.c_str(), + std::ios::out | std::ios::binary); } else { @@ -80,7 +82,8 @@ cmGeneratedFileStream::Open(const char* name, bool quiet, bool binaryFlag) // Check if the file opened. if(!*this && !quiet) { - cmSystemTools::Error("Cannot open file for write: ", this->TempName.c_str()); + cmSystemTools::Error("Cannot open file for write: ", + this->TempName.c_str()); cmSystemTools::ReportLastSystemError(""); } return *this; |