summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-11-03 12:51:51 (GMT)
committerBrad King <brad.king@kitware.com>2004-11-03 12:51:51 (GMT)
commita5ae290a5bdacf492f31928adb271b85d1d6c4b2 (patch)
treee7449908786332210ad77275356dfc4a711c5cc5 /Source/cmGlobalVisualStudio7Generator.cxx
parente34207c1f0493c002da8c74897b81a72ef3ef2d4 (diff)
downloadCMake-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/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 0184833..e85a80c 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -289,7 +289,8 @@ void cmGlobalVisualStudio7Generator::OutputSLNFile(cmLocalGenerator* root,
fname += "/";
fname += root->GetMakefile()->GetProjectName();
fname += ".sln";
- cmGeneratedFileStream fout(fname.c_str(), true);
+ cmGeneratedFileStream fout(fname.c_str());
+ fout.SetCopyIfDifferent(true);
if(!fout)
{
return;