summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-10-26 12:56:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-10-26 12:57:04 (GMT)
commit6a8c765c8f6a6a62efe4b10c54d748870525ce1a (patch)
treeedb5305e6bee8d6d54ced2dfbc25094a01d8c9a7 /Source/cmLocalGenerator.cxx
parent0278ec84d823b3d910cf5fc614b30b76984ac135 (diff)
parent57132765e078a8654d1166d7d8a1c29ec01f47b4 (diff)
downloadCMake-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.cxx4
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);