1234567891011121314 |
- diff --git a/include/deque b/include/deque
- index 26bacb7..d4238a4 100644
- --- a/include/deque
- +++ b/include/deque
- @@ -2431,7 +2431,8 @@ typename deque<_Tp, _Allocator>::iterator deque<_Tp, _Allocator>::erase(const_it
-
- template <class _Tp, class _Allocator>
- typename deque<_Tp, _Allocator>::iterator deque<_Tp, _Allocator>::erase(const_iterator __f, const_iterator __l) {
- - _LIBCPP_ASSERT_VALID_INPUT_RANGE(__f <= __l, "deque::erase(first, last) called with an invalid range");
- + // temporary disable this check for maps
- + // _LIBCPP_ASSERT_VALID_INPUT_RANGE(__f <= __l, "deque::erase(first, last) called with an invalid range");
- size_type __old_sz = size();
- size_type __old_start = __start_;
- difference_type __n = __l - __f;
|