diff options
author | Brad King <brad.king@kitware.com> | 2019-12-18 14:31:53 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-12-18 14:32:03 (GMT) |
commit | 0607a50bb38590e5a47b7314c0bf0ad25187ae8f (patch) | |
tree | e69c3a85171d1b782e091411baca82a5ebc5cb23 /Source/cmMakefile.cxx | |
parent | c507661ca07df2199bf63cedececfbaf582e0fd0 (diff) | |
parent | f7d12609f038a0e4e09f9a40fa081c4a4db3e56b (diff) | |
download | CMake-0607a50bb38590e5a47b7314c0bf0ad25187ae8f.zip CMake-0607a50bb38590e5a47b7314c0bf0ad25187ae8f.tar.gz CMake-0607a50bb38590e5a47b7314c0bf0ad25187ae8f.tar.bz2 |
Merge topic 'add-header-cmext-algorithm'
f7d12609f0 Refactoring: use append functions from cmext/algorithm
a38d04c076 Refactoring: introduce header cmext/algorithm with append functions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4131
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 74cc831..75f00fc 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -15,6 +15,7 @@ #include <cm/iterator> #include <cm/optional> +#include <cmext/algorithm> #include "cmsys/FStream.hxx" #include "cmsys/RegularExpression.hxx" @@ -2660,7 +2661,7 @@ const std::string& cmMakefile::GetSafeDefinition(const std::string& name) const std::vector<std::string> cmMakefile::GetDefinitions() const { std::vector<std::string> res = this->StateSnapshot.ClosureKeys(); - cmAppend(res, this->GetState()->GetCacheEntryKeys()); + cm::append(res, this->GetState()->GetCacheEntryKeys()); std::sort(res.begin(), res.end()); return res; } |