COMP: Remove warning

This commit is contained in:
Andy Cedilnik 2006-01-12 14:21:37 -05:00
parent 4bdca3b404
commit 9ab3b14c77
2 changed files with 4 additions and 3 deletions

View File

@ -62,13 +62,13 @@ cmGeneratedFileStream::~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. // Store the file name and construct the temporary file name.
this->cmGeneratedFileStreamBase::Open(name); this->cmGeneratedFileStreamBase::Open(name);
// Open the temporary output file. // Open the temporary output file.
if ( binary ) if ( binaryFlag )
{ {
this->Stream::open(m_TempName.c_str(), std::ios::out | std::ios::binary); this->Stream::open(m_TempName.c_str(), std::ios::out | std::ios::binary);
} }

View File

@ -114,7 +114,8 @@ public:
* temporary file. If the file cannot be opened an error message is * temporary file. If the file cannot be opened an error message is
* produced unless the second argument is set to true. * 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 * Close the output file. This should be used only with an open