STYLE: Adjusted signature of cmGeneratedFileStream to make copy-if-different more explicity.

This commit is contained in:
Brad King
2004-11-03 07:51:51 -05:00
parent e34207c1f0
commit a5ae290a5b
9 changed files with 49 additions and 40 deletions

View File

@@ -120,7 +120,7 @@ void cmLocalKdevelopGenerator::MergeProjectFiles(const std::string& outputDir,
}
oldProjectFile.close();
cmGeneratedFileStream fout(filename.c_str(), false);
cmGeneratedFileStream fout(filename.c_str());
if(!fout)
{
return;
@@ -171,7 +171,7 @@ void cmLocalKdevelopGenerator::CreateNewProjectFile(const std::string& outputDir
const std::string& cmakeFilePattern)
{
cmGeneratedFileStream fout(filename.c_str(), false);
cmGeneratedFileStream fout(filename.c_str());
if(!fout)
{
return;
@@ -364,7 +364,7 @@ bool cmLocalKdevelopGenerator::CreateFilelistFile(const std::string& outputDir,
}
//now write the new filename
cmGeneratedFileStream fout(filename.c_str(), false);
cmGeneratedFileStream fout(filename.c_str());
if(!fout)
{
return false;