summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.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/cmGlobalGenerator.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/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index e0100ce..74a089f 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2588,8 +2588,8 @@ bool cmGlobalGenerator::IsReservedTarget(std::string const& name)
"RUN_TESTS", "package", "PACKAGE", "package_source", "ZERO_CHECK"
};
- return std::find(cmArrayBegin(reservedTargets), cmArrayEnd(reservedTargets),
- name) != cmArrayEnd(reservedTargets);
+ return std::find(cm::cbegin(reservedTargets), cm::cend(reservedTargets),
+ name) != cm::cend(reservedTargets);
}
void cmGlobalGenerator::SetExternalMakefileProjectGenerator(