summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.h
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/cmLocalVisualStudio7Generator.h
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/cmLocalVisualStudio7Generator.h')
-rw-r--r--Source/cmLocalVisualStudio7Generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h
index 34af7f5..11b6736 100644
--- a/Source/cmLocalVisualStudio7Generator.h
+++ b/Source/cmLocalVisualStudio7Generator.h
@@ -114,7 +114,7 @@ private:
void WriteTargetVersionAttribute(std::ostream& fout, cmTarget& target);
void WriteGroup(const cmSourceGroup *sg,
- cmTarget target, std::ostream &fout,
+ cmTarget& target, std::ostream &fout,
const char *libName, std::vector<std::string> *configs);
virtual std::string GetTargetDirectory(cmTarget const&) const;