summaryrefslogtreecommitdiffstats
path: root/Source/Checks
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-23 09:11:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-08-23 09:11:40 (GMT)
commitac6660b6716f14815bdd0f75cf1da4cf3ad7381c (patch)
treee062c9597c77691cca746308a951eee16c1af75e /Source/Checks
parent7526b1ed3285e29565415701756cfe7db1967cd9 (diff)
parentcbcfb79f9c38c1dac28e9353cc7d7e5efec0357f (diff)
downloadCMake-ac6660b6716f14815bdd0f75cf1da4cf3ad7381c.zip
CMake-ac6660b6716f14815bdd0f75cf1da4cf3ad7381c.tar.gz
CMake-ac6660b6716f14815bdd0f75cf1da4cf3ad7381c.tar.bz2
Merge topic 'cxx11-unordered'
cbcfb79f Use C++11 unordered containers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1174
Diffstat (limited to 'Source/Checks')
-rw-r--r--Source/Checks/cm_cxx_features.cmake2
-rw-r--r--Source/Checks/cm_cxx_unordered_map.cxx7
-rw-r--r--Source/Checks/cm_cxx_unordered_set.cxx7
3 files changed, 0 insertions, 16 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake
index 3b08025..e75a7ef 100644
--- a/Source/Checks/cm_cxx_features.cmake
+++ b/Source/Checks/cm_cxx_features.cmake
@@ -54,5 +54,3 @@ endif()
cm_check_cxx_feature(nullptr)
cm_check_cxx_feature(override)
cm_check_cxx_feature(unique_ptr)
-cm_check_cxx_feature(unordered_map)
-cm_check_cxx_feature(unordered_set)
diff --git a/Source/Checks/cm_cxx_unordered_map.cxx b/Source/Checks/cm_cxx_unordered_map.cxx
deleted file mode 100644
index be3de25..0000000
--- a/Source/Checks/cm_cxx_unordered_map.cxx
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <unordered_map>
-int main()
-{
- std::unordered_map<int, int> map;
- map[0] = 0;
- return 0;
-}
diff --git a/Source/Checks/cm_cxx_unordered_set.cxx b/Source/Checks/cm_cxx_unordered_set.cxx
deleted file mode 100644
index de4bb77..0000000
--- a/Source/Checks/cm_cxx_unordered_set.cxx
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <unordered_set>
-int main()
-{
- std::unordered_set<int> set;
- set.insert(0);
- return 0;
-}