diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-12 19:21:37 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-12 19:21:37 (GMT) |
commit | 9ab3b14c77bc92a94c8b1b949bdc0f91bb77c7a2 (patch) | |
tree | ad09366977a7fbd04df01274a428c1d9af009920 | |
parent | 4bdca3b404d5fafe89779ea5cd1dce50018afbcc (diff) | |
download | CMake-9ab3b14c77bc92a94c8b1b949bdc0f91bb77c7a2.zip CMake-9ab3b14c77bc92a94c8b1b949bdc0f91bb77c7a2.tar.gz CMake-9ab3b14c77bc92a94c8b1b949bdc0f91bb77c7a2.tar.bz2 |
COMP: Remove warning
-rw-r--r-- | Source/cmGeneratedFileStream.cxx | 4 | ||||
-rw-r--r-- | Source/cmGeneratedFileStream.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGeneratedFileStream.cxx b/Source/cmGeneratedFileStream.cxx index 37b526a..1833b94 100644 --- a/Source/cmGeneratedFileStream.cxx +++ b/Source/cmGeneratedFileStream.cxx @@ -62,13 +62,13 @@ cmGeneratedFileStream::~cmGeneratedFileStream() //---------------------------------------------------------------------------- cmGeneratedFileStream& -cmGeneratedFileStream::Open(const char* name, bool quiet, bool binary) +cmGeneratedFileStream::Open(const char* name, bool quiet, bool binaryFlag) { // Store the file name and construct the temporary file name. this->cmGeneratedFileStreamBase::Open(name); // Open the temporary output file. - if ( binary ) + if ( binaryFlag ) { this->Stream::open(m_TempName.c_str(), std::ios::out | std::ios::binary); } diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h index 4783cb6..fb49081 100644 --- a/Source/cmGeneratedFileStream.h +++ b/Source/cmGeneratedFileStream.h @@ -114,7 +114,8 @@ public: * temporary file. If the file cannot be opened an error message is * produced unless the second argument is set to true. */ - cmGeneratedFileStream& Open(const char* name, bool quiet=false, bool binary=false); + cmGeneratedFileStream& Open(const char* name, bool quiet=false, + bool binaryFlag=false); /** * Close the output file. This should be used only with an open |