[libcxx] r183481 - Minor bug fix for allowing an extension of const-qualified types in containers.

Howard Hinnant hhinnant at apple.com
Thu Jun 6 18:56:37 PDT 2013


Author: hhinnant
Date: Thu Jun  6 20:56:37 2013
New Revision: 183481

URL: http://llvm.org/viewvc/llvm-project?rev=183481&view=rev
Log:
Minor bug fix for allowing an extension of const-qualified types in containers.

Modified:
    libcxx/trunk/include/memory

Modified: libcxx/trunk/include/memory
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/memory?rev=183481&r1=183480&r2=183481&view=diff
==============================================================================
--- libcxx/trunk/include/memory (original)
+++ libcxx/trunk/include/memory Thu Jun  6 20:56:37 2013
@@ -1750,7 +1750,7 @@ public:
     typedef const _Tp*        const_pointer;
     typedef const _Tp&        reference;
     typedef const _Tp&        const_reference;
-    typedef _Tp               value_type;
+    typedef const _Tp         value_type;
 
     typedef true_type propagate_on_container_move_assignment;
 





More information about the cfe-commits mailing list