diff options
author | Brad King <brad.king@kitware.com> | 2004-11-03 12:51:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-11-03 12:51:51 (GMT) |
commit | a5ae290a5bdacf492f31928adb271b85d1d6c4b2 (patch) | |
tree | e7449908786332210ad77275356dfc4a711c5cc5 /Source/cmVTKMakeInstantiatorCommand.cxx | |
parent | e34207c1f0493c002da8c74897b81a72ef3ef2d4 (diff) | |
download | CMake-a5ae290a5bdacf492f31928adb271b85d1d6c4b2.zip CMake-a5ae290a5bdacf492f31928adb271b85d1d6c4b2.tar.gz CMake-a5ae290a5bdacf492f31928adb271b85d1d6c4b2.tar.bz2 |
STYLE: Adjusted signature of cmGeneratedFileStream to make copy-if-different more explicity.
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r-- | Source/cmVTKMakeInstantiatorCommand.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx index 6f2239b..5d96b80 100644 --- a/Source/cmVTKMakeInstantiatorCommand.cxx +++ b/Source/cmVTKMakeInstantiatorCommand.cxx @@ -127,7 +127,8 @@ cmVTKMakeInstantiatorCommand std::string fullName = headerPath+"/"+fileName; // Generate the output file with copy-if-different. - cmGeneratedFileStream fout(fullName.c_str(), true); + cmGeneratedFileStream fout(fullName.c_str()); + fout.SetCopyIfDifferent(true); // Actually generate the code in the file. if(!oldVersion) @@ -147,7 +148,8 @@ cmVTKMakeInstantiatorCommand // Generate the output file with copy-if-different. { - cmGeneratedFileStream fout(fullName.c_str(), true); + cmGeneratedFileStream fout(fullName.c_str()); + fout.SetCopyIfDifferent(true); // Actually generate the code in the file. if(!oldVersion) @@ -188,7 +190,8 @@ cmVTKMakeInstantiatorCommand // Generate the output file with copy-if-different. { - cmGeneratedFileStream fout(fullName.c_str(), true); + cmGeneratedFileStream fout(fullName.c_str()); + fout.SetCopyIfDifferent(true); size_t thisBlockSize = (block < numFullBlocks)? groupSize:lastBlockSize; |