[cfe-commits] [libcxx] r135897 - in /libcxx/trunk/include/ext: hash_map hash_set

Howard Hinnant hhinnant at apple.com
Sun Jul 24 16:59:50 PDT 2011


Author: hhinnant
Date: Sun Jul 24 18:59:50 2011
New Revision: 135897

URL: http://llvm.org/viewvc/llvm-project?rev=135897&view=rev
Log:
http://llvm.org/bugs/show_bug.cgi?id=10469

Modified:
    libcxx/trunk/include/ext/hash_map
    libcxx/trunk/include/ext/hash_set

Modified: libcxx/trunk/include/ext/hash_map
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/ext/hash_map?rev=135897&r1=135896&r2=135897&view=diff
==============================================================================
--- libcxx/trunk/include/ext/hash_map (original)
+++ libcxx/trunk/include/ext/hash_map Sun Jul 24 18:59:50 2011
@@ -204,7 +204,9 @@
 #include <functional>
 #include <stdexcept>
 
+#if __DEPRECATED
 #warning Use of the header <ext/hash_map> is deprecated.  Migrate to <unordered_map>
+#endif
 
 #pragma GCC system_header
 

Modified: libcxx/trunk/include/ext/hash_set
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/ext/hash_set?rev=135897&r1=135896&r2=135897&view=diff
==============================================================================
--- libcxx/trunk/include/ext/hash_set (original)
+++ libcxx/trunk/include/ext/hash_set Sun Jul 24 18:59:50 2011
@@ -197,7 +197,9 @@
 #include <__hash_table>
 #include <functional>
 
+#if __DEPRECATED
 #warning Use of the header <ext/hash_set> is deprecated.  Migrate to <unordered_set>
+#endif
 
 namespace __gnu_cxx {
 





More information about the cfe-commits mailing list