summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/include/unordered_map4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/unordered_map b/libcxx/include/unordered_map
index e1381f7614d..bf6b688a6fa 100644
--- a/libcxx/include/unordered_map
+++ b/libcxx/include/unordered_map
@@ -560,9 +560,9 @@ public:
typedef const value_type& reference;
typedef typename __pointer_traits::template
#ifndef _LIBCPP_HAS_NO_TEMPLATE_ALIASES
- rebind<value_type>
+ rebind<const value_type>
#else
- rebind<value_type>::other
+ rebind<const value_type>::other
#endif
pointer;
OpenPOWER on IntegriCloud