summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/vector4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/vector b/libcxx/include/vector
index d8c9feb4e69..2aebf5c4df8 100644
--- a/libcxx/include/vector
+++ b/libcxx/include/vector
@@ -1801,10 +1801,10 @@ private:
__storage_pointer __begin_;
size_type __size_;
__compressed_pair<size_type, __storage_allocator> __cap_alloc_;
-
+public:
typedef __bit_reference<vector> reference;
typedef __bit_const_reference<vector> const_reference;
-
+private:
_LIBCPP_INLINE_VISIBILITY
size_type& __cap() _NOEXCEPT
{return __cap_alloc_.first();}
OpenPOWER on IntegriCloud