[Cmake-commits] CMake branch, next, updated. v3.2.2-2816-gd2be73d

Stephen Kelly steveire at gmail.com
Sun May 17 05:24:42 EDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  d2be73db832aa31c9793e825fca3e5592a3990d1 (commit)
       via  402c1269a58478cd00a229e3f8fd183ce0162f99 (commit)
      from  20e6ff51e4821ec45cd3b1b67c7112634399cad7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d2be73db832aa31c9793e825fca3e5592a3990d1
commit d2be73db832aa31c9793e825fca3e5592a3990d1
Merge: 20e6ff5 402c126
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun May 17 05:24:42 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun May 17 05:24:42 2015 -0400

    Merge topic 'use-std-unordered_map' into next
    
    402c1269 fixup! Use std::unordered_map instead of hash_map where available.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=402c1269a58478cd00a229e3f8fd183ce0162f99
commit 402c1269a58478cd00a229e3f8fd183ce0162f99
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Sun May 17 11:20:43 2015 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Sun May 17 11:22:22 2015 +0200

    fixup! Use std::unordered_map instead of hash_map where available.

diff --git a/Source/Checks/cm_cxx11_unordered_map.cpp b/Source/Checks/cm_cxx11_unordered_map.cpp
index ce86243..beeb31b 100644
--- a/Source/Checks/cm_cxx11_unordered_map.cpp
+++ b/Source/Checks/cm_cxx11_unordered_map.cpp
@@ -1,2 +1,6 @@
 #include <unordered_map>
-int main() { return 0; }
+int main() {
+  std::unordered_map<int, int> map;
+  map[0] = 0;
+  return 0;
+}

-----------------------------------------------------------------------

Summary of changes:
 Source/Checks/cm_cxx11_unordered_map.cpp |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list