summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-22 21:05:27 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-22 21:05:27 (GMT)
commitcbcfb79f9c38c1dac28e9353cc7d7e5efec0357f (patch)
treebc2a5bea4adc0805b5439679c90e52103348a23a /Source/cmTarget.h
parent8a0ed37f617347a6c7c37c50a5321f05d678fa76 (diff)
downloadCMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.zip
CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.gz
CMake-cbcfb79f9c38c1dac28e9353cc7d7e5efec0357f.tar.bz2
Use C++11 unordered containers
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 1f00c01..53fd45e 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -9,6 +9,7 @@
#include <map>
#include <set>
#include <string>
+#include <unordered_map>
#include <utility>
#include <vector>
@@ -19,7 +20,6 @@
#include "cmPropertyMap.h"
#include "cmStateTypes.h"
#include "cmTargetLinkLibraryType.h"
-#include "cm_unordered_map.hxx"
class cmGlobalGenerator;
class cmMakefile;
@@ -323,7 +323,7 @@ private:
cmListFileBacktrace Backtrace;
};
-typedef CM_UNORDERED_MAP<std::string, cmTarget> cmTargets;
+typedef std::unordered_map<std::string, cmTarget> cmTargets;
class cmTargetSet : public std::set<std::string>
{