summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ext/hash_map
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/ext/hash_map')
-rw-r--r--libcxx/include/ext/hash_map2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map
index 49c8d11c491..b74540be7f4 100644
--- a/libcxx/include/ext/hash_map
+++ b/libcxx/include/ext/hash_map
@@ -204,7 +204,9 @@ template <class Key, class T, class Hash, class Pred, class Alloc>
#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
OpenPOWER on IntegriCloud