diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2012-02-05 01:48:08 (GMT) |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-02-05 01:48:08 (GMT) |
commit | 5d19e8aa6aac75fb08897aece8aa5545360aeeb2 (patch) | |
tree | e0b146f3ba228be4542b663c69facc6b266609fa /Source/cmNinjaUtilityTargetGenerator.cxx | |
parent | bfe56f6802fc7db7f8e824aab8881be6cf23ccef (diff) | |
download | CMake-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.cxx | 4 |
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()); } } |