summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ext
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-03-03 19:50:01 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-03-03 19:50:01 +0000
commit99aadbdb7d2fd9615a2c00fd7c219a27425b2b31 (patch)
treedfa56f4ff15654bc9b36327889bf72ea0d92f707 /libcxx/include/ext
parent9c794c7a7c9d1f4a6623bf129f2919008d3ea34d (diff)
downloadbcm5719-llvm-99aadbdb7d2fd9615a2c00fd7c219a27425b2b31.tar.gz
bcm5719-llvm-99aadbdb7d2fd9615a2c00fd7c219a27425b2b31.zip
[libc++] Const qualify __gnu_cxx::hash_map<>::const_iterator::pointer type.
Differential Revision: http://llvm-reviews.chandlerc.com/D2811 llvm-svn: 202749
Diffstat (limited to 'libcxx/include/ext')
-rw-r--r--libcxx/include/ext/hash_map4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map
index 225b72baa2c..36cd595e034 100644
--- a/libcxx/include/ext/hash_map
+++ b/libcxx/include/ext/hash_map
@@ -430,9 +430,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