summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-02-05 01:48:08 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2012-02-05 01:48:08 (GMT)
commit5d19e8aa6aac75fb08897aece8aa5545360aeeb2 (patch)
treee0b146f3ba228be4542b663c69facc6b266609fa /Source/cmNinjaUtilityTargetGenerator.cxx
parentbfe56f6802fc7db7f8e824aab8881be6cf23ccef (diff)
downloadCMake-5d19e8aa6aac75fb08897aece8aa5545360aeeb2.zip
CMake-5d19e8aa6aac75fb08897aece8aa5545360aeeb2.tar.gz
CMake-5d19e8aa6aac75fb08897aece8aa5545360aeeb2.tar.bz2
Ninja: Appease various compilers
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx
index bfe6f07..bf8194d 100644
--- a/Source/cmNinjaUtilityTargetGenerator.cxx
+++ b/Source/cmNinjaUtilityTargetGenerator.cxx
@@ -39,8 +39,8 @@ void cmNinjaUtilityTargetGenerator::Generate()
this->GetLocalGenerator()->AddCustomCommandTarget(cc, this->GetTarget());
// Depend on all custom command outputs.
- const std::vector<std::string>& outputs = cc->GetOutputs();
- std::transform(outputs.begin(), outputs.end(),
+ const std::vector<std::string>& ccOutputs = cc->GetOutputs();
+ std::transform(ccOutputs.begin(), ccOutputs.end(),
std::back_inserter(deps), MapToNinjaPath());
}
}