diff options
author | mikhnenko <[email protected]> | 2025-01-23 19:35:45 +0300 |
---|---|---|
committer | mikhnenko <[email protected]> | 2025-01-23 19:54:52 +0300 |
commit | 5bb79d41a5ed8c862b7d66ac2fe66afb38c6e9db (patch) | |
tree | 3d9808845e9df45e568cc093e3d58de325b6ef80 /contrib/libs/cxxsupp/libcxx/include/deque | |
parent | 1cd2a0aadd22286806362355c1fc6809b9b8770c (diff) |
Get back some harderning checks
commit_hash:c33537c8c5610dd26434b4b948f9fb84707500d5
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/deque')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/deque | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/deque b/contrib/libs/cxxsupp/libcxx/include/deque index eaaa765b854..d4238a495bb 100644 --- a/contrib/libs/cxxsupp/libcxx/include/deque +++ b/contrib/libs/cxxsupp/libcxx/include/deque @@ -1497,8 +1497,7 @@ inline typename deque<_Tp, _Allocator>::reference deque<_Tp, _Allocator>::operat template <class _Tp, class _Allocator> inline typename deque<_Tp, _Allocator>::const_reference deque<_Tp, _Allocator>::operator[](size_type __i) const _NOEXCEPT { - // temporary disable this check for infra - // _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__i < size(), "deque::operator[] index out of bounds"); + _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__i < size(), "deque::operator[] index out of bounds"); size_type __p = __start_ + __i; return *(*(__map_.begin() + __p / __block_size) + __p % __block_size); } |