summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-12-09 16:39:29 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2019-12-17 09:44:02 (GMT)
commitf7d12609f038a0e4e09f9a40fa081c4a4db3e56b (patch)
treec20d476dfb30aa3772797b2d66d27bbedd1ce662 /Source/cmGlobalXCodeGenerator.cxx
parenta38d04c0764b3550bd7d17b659945a38c1368f1e (diff)
downloadCMake-f7d12609f038a0e4e09f9a40fa081c4a4db3e56b.zip
CMake-f7d12609f038a0e4e09f9a40fa081c4a4db3e56b.tar.gz
CMake-f7d12609f038a0e4e09f9a40fa081c4a4db3e56b.tar.bz2
Refactoring: use append functions from cmext/algorithm
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 37717f4..dcd9705 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -10,6 +10,7 @@
#include <sstream>
#include <cm/memory>
+#include <cmext/algorithm>
#include "cmsys/RegularExpression.hxx"
@@ -577,7 +578,7 @@ void cmGlobalXCodeGenerator::CreateReRunCMakeFile(
{
std::vector<std::string> lfiles;
for (auto gen : gens) {
- cmAppend(lfiles, gen->GetMakefile()->GetListFiles());
+ cm::append(lfiles, gen->GetMakefile()->GetListFiles());
}
// sort the array
@@ -1095,7 +1096,7 @@ bool cmGlobalXCodeGenerator::CreateXCodeTargets(
{
this->SetCurrentLocalGenerator(gen);
std::vector<cmGeneratorTarget*> gts;
- cmAppend(gts, this->CurrentLocalGenerator->GetGeneratorTargets());
+ cm::append(gts, this->CurrentLocalGenerator->GetGeneratorTargets());
std::sort(gts.begin(), gts.end(),
[this](cmGeneratorTarget const* l, cmGeneratorTarget const* r) {
return this->TargetOrderIndex[l] < this->TargetOrderIndex[r];