File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,9 @@ class concat_view<_Views...>::__iterator {
555555 requires __concat_is_random_access<_Const, _Views...>
556556 {
557557 _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS (
558- !__it_.valueless_by_exception (), " Trying to convert from a valueless iterator of concat_view." );
558+ !__x.__it_ .valueless_by_exception (), " Trying to convert from a valueless iterator of concat_view." );
559+ _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS (
560+ !__y.__it_ .valueless_by_exception (), " Trying to convert from a valueless iterator of concat_view." );
559561 size_t __ix = __x.__it_ .index ();
560562 size_t __iy = __y.__it_ .index ();
561563
@@ -604,7 +606,7 @@ class concat_view<_Views...>::__iterator {
604606 (__apply_drop_first<_Const, _Views...>::value)
605607 {
606608 _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS (
607- !__it_.valueless_by_exception (), " Trying to convert from a valueless iterator of concat_view." );
609+ !__x. __it_ .valueless_by_exception (), " Trying to convert from a valueless iterator of concat_view." );
608610 size_t __ix = __x.__it_ .index ();
609611 __variant_detail::__visitation::__variant::__visit_value (
610612 [&](auto & __it_x) {
You can’t perform that action at this time.
0 commit comments