浏览代码

http://llvm.org/bugs/show_bug.cgi?id=9672

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@129266 91177308-0d34-0410-b5e6-96231b3b80d8
Howard Hinnant 14 年之前
父节点
当前提交
9dbeff919b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/map

+ 2 - 2
include/map

@@ -567,9 +567,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;