diff options
author | Brad King <brad.king@kitware.com> | 2017-10-26 12:56:47 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-10-26 12:57:04 (GMT) |
commit | 6a8c765c8f6a6a62efe4b10c54d748870525ce1a (patch) | |
tree | edb5305e6bee8d6d54ced2dfbc25094a01d8c9a7 /Source/cmLocalGenerator.cxx | |
parent | 0278ec84d823b3d910cf5fc614b30b76984ac135 (diff) | |
parent | 57132765e078a8654d1166d7d8a1c29ec01f47b4 (diff) | |
download | CMake-6a8c765c8f6a6a62efe4b10c54d748870525ce1a.zip CMake-6a8c765c8f6a6a62efe4b10c54d748870525ce1a.tar.gz CMake-6a8c765c8f6a6a62efe4b10c54d748870525ce1a.tar.bz2 |
Merge topic 'cm-array-begins-size'
57132765 Replace cmArray{Begin,End,Size} by their standard counterparts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1352
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 1a088ea..12c0cfd 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -135,8 +135,8 @@ cmLocalGenerator::cmLocalGenerator(cmGlobalGenerator* gg, cmMakefile* makefile) this->VariableMappings[compilerOptionSysroot] = this->Makefile->GetSafeDefinition(compilerOptionSysroot); - for (const char* const* replaceIter = cmArrayBegin(ruleReplaceVars); - replaceIter != cmArrayEnd(ruleReplaceVars); ++replaceIter) { + for (const char* const* replaceIter = cm::cbegin(ruleReplaceVars); + replaceIter != cm::cend(ruleReplaceVars); ++replaceIter) { std::string actualReplace = *replaceIter; if (actualReplace.find("${LANG}") != std::string::npos) { cmSystemTools::ReplaceString(actualReplace, "${LANG}", lang); |