summaryrefslogtreecommitdiffstats
path: root/Source/cmStateDirectory.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-06-02 10:35:33 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-06-08 10:25:35 (GMT)
commit9e64e617eb295c7e2725d871225659ae7bcf7c48 (patch)
tree5356b70a28cd1ad5de06dcadc035489b6645c529 /Source/cmStateDirectory.cxx
parentf4bbeb785c8f673a5cff326cc717d0dfbb2734a2 (diff)
downloadCMake-9e64e617eb295c7e2725d871225659ae7bcf7c48.zip
CMake-9e64e617eb295c7e2725d871225659ae7bcf7c48.tar.gz
CMake-9e64e617eb295c7e2725d871225659ae7bcf7c48.tar.bz2
cmPropertyMap: Rename GetPropertyList method to GetKeys
Diffstat (limited to 'Source/cmStateDirectory.cxx')
-rw-r--r--Source/cmStateDirectory.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmStateDirectory.cxx b/Source/cmStateDirectory.cxx
index 182d3fe..6ca1c9f 100644
--- a/Source/cmStateDirectory.cxx
+++ b/Source/cmStateDirectory.cxx
@@ -6,7 +6,6 @@
#include <algorithm>
#include <assert.h>
#include <iterator>
-#include <utility>
#include "cmAlgorithms.h"
#include "cmProperty.h"
@@ -667,12 +666,7 @@ bool cmStateDirectory::GetPropertyAsBool(const std::string& prop) const
std::vector<std::string> cmStateDirectory::GetPropertyKeys() const
{
- std::vector<std::string> keys;
- keys.reserve(this->DirectoryState->Properties.size());
- for (auto const& it : this->DirectoryState->Properties) {
- keys.push_back(it.first);
- }
- return keys;
+ return this->DirectoryState->Properties.GetKeys();
}
void cmStateDirectory::AddNormalTargetName(std::string const& name)