summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-29 22:30:34 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-29 22:30:34 (GMT)
commit6066e92ba2a9470e302e29cf0e63fd096245e4f3 (patch)
treef4bdf227f5aee5401fa17fbdd4be0fdb0155b0cf /Source/cmLocalVisualStudio6Generator.cxx
parentb90d3114c5a48eae2c9615a66b4e0f9afc37ff58 (diff)
downloadCMake-6066e92ba2a9470e302e29cf0e63fd096245e4f3.zip
CMake-6066e92ba2a9470e302e29cf0e63fd096245e4f3.tar.gz
CMake-6066e92ba2a9470e302e29cf0e63fd096245e4f3.tar.bz2
BUG: cmTarget instances should not be copied. Removed pass-by-value arguments from cmLocalVisualStudio7Generator::WriteGroup and cmLocalVisualStudio6Generator::WriteGroup. Updated cmTarget to make this easier to find.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index c657a0e..a8e7e1b 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -351,7 +351,7 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
}
void cmLocalVisualStudio6Generator
-::WriteGroup(const cmSourceGroup *sg, cmTarget target,
+::WriteGroup(const cmSourceGroup *sg, cmTarget& target,
std::ostream &fout, const char *libName)
{
const std::vector<const cmSourceFile *> &sourceFiles =