summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-31 18:36:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-08-31 18:36:01 (GMT)
commitd2a65b5f40d8be6710d0ca815e6a5863885db749 (patch)
tree7ecc3a8253c97e0f9067bac14e6496a038bee9ab /Source/cmVisualStudio10TargetGenerator.cxx
parent39da06e8faa37629b5d04f2ccea1e42e8452df07 (diff)
parent95b3bb5dbcb6021f07329f5bc400b1a205386970 (diff)
downloadCMake-d2a65b5f40d8be6710d0ca815e6a5863885db749.zip
CMake-d2a65b5f40d8be6710d0ca815e6a5863885db749.tar.gz
CMake-d2a65b5f40d8be6710d0ca815e6a5863885db749.tar.bz2
Merge topic 'target-dependencies-const'
95b3bb5 Restore GetTargetDirectDepends const return
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index ca522bb..70680ad 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1422,7 +1422,7 @@ void cmVisualStudio10TargetGenerator::WriteEvent(
void cmVisualStudio10TargetGenerator::WriteProjectReferences()
{
- cmGlobalGenerator::TargetDependSet& depends
+ cmGlobalGenerator::TargetDependSet const& depends
= this->GlobalGenerator->GetTargetDirectDepends(*this->Target);
this->WriteString("<ItemGroup>\n", 1);
for( cmGlobalGenerator::TargetDependSet::const_iterator i = depends.begin();