diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-22 21:05:27 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-22 21:05:27 (GMT) |
commit | cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f (patch) | |
tree | bc2a5bea4adc0805b5439679c90e52103348a23a /Source/cmTarget.cxx | |
parent | 8a0ed37f617347a6c7c37c50a5321f05d678fa76 (diff) | |
download | CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.zip CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.gz CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.bz2 |
Use C++11 unordered containers
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 501aebf..a116ea3 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -9,6 +9,7 @@ #include <set> #include <sstream> #include <string.h> +#include <unordered_set> #include "cmAlgorithms.h" #include "cmGeneratorExpression.h" @@ -26,7 +27,6 @@ #include "cmStateSnapshot.h" #include "cmSystemTools.h" #include "cmTargetPropertyComputer.h" -#include "cm_unordered_set.hxx" #include "cmake.h" template <> @@ -1180,7 +1180,7 @@ const char* cmTarget::GetComputedProperty( const char* cmTarget::GetProperty(const std::string& prop) const { - static CM_UNORDERED_SET<std::string> specialProps; + static std::unordered_set<std::string> specialProps; #define MAKE_STATIC_PROP(PROP) static const std::string prop##PROP = #PROP MAKE_STATIC_PROP(LINK_LIBRARIES); MAKE_STATIC_PROP(TYPE); |