summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio10Generator.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/cmLocalVisualStudio10Generator.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/cmLocalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio10Generator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx
index d9c4ce0..6f456c6 100644
--- a/Source/cmLocalVisualStudio10Generator.cxx
+++ b/Source/cmLocalVisualStudio10Generator.cxx
@@ -2,6 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmLocalVisualStudio10Generator.h"
+#include <cmext/algorithm>
+
#include "cm_expat.h"
#include "cmAlgorithms.h"
@@ -103,7 +105,7 @@ void cmLocalVisualStudio10Generator::GenerateTargetsDepthFirst(
void cmLocalVisualStudio10Generator::Generate()
{
std::vector<cmGeneratorTarget*> remaining;
- cmAppend(remaining, this->GetGeneratorTargets());
+ cm::append(remaining, this->GetGeneratorTargets());
for (auto& t : remaining) {
if (t) {
this->GenerateTargetsDepthFirst(t, remaining);