summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-07-09 15:50:42 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-07-09 15:50:42 +0000
commit7ae42ef0bf81a750ccd21bd3ec52671a37d507c6 (patch)
treee150c47eb837795796c61d121bd78c22799956dc /libcxx
parent9c6a679d3b0adb4a0f7ed28d70c774627375aa07 (diff)
downloadbcm5719-llvm-7ae42ef0bf81a750ccd21bd3ec52671a37d507c6.tar.gz
bcm5719-llvm-7ae42ef0bf81a750ccd21bd3ec52671a37d507c6.zip
Make vector<bool>::reference and const_reference public
llvm-svn: 134815
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