summaryrefslogtreecommitdiffstats
path: root/Source/cmStateDirectory.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/cmStateDirectory.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/cmStateDirectory.cxx')
-rw-r--r--Source/cmStateDirectory.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmStateDirectory.cxx b/Source/cmStateDirectory.cxx
index 1262f53..97fdbbe 100644
--- a/Source/cmStateDirectory.cxx
+++ b/Source/cmStateDirectory.cxx
@@ -8,6 +8,7 @@
#include <vector>
#include <cm/iterator>
+#include <cmext/algorithm>
#include "cmAlgorithms.h"
#include "cmProperty.h"
@@ -607,7 +608,7 @@ const char* cmStateDirectory::GetProperty(const std::string& prop,
}
if (prop == "VARIABLES") {
std::vector<std::string> res = this->Snapshot_.ClosureKeys();
- cmAppend(res, this->Snapshot_.State->GetCacheEntryKeys());
+ cm::append(res, this->Snapshot_.State->GetCacheEntryKeys());
std::sort(res.begin(), res.end());
output = cmJoin(res, ";");
return output.c_str();