Skip to content

Commit d1deb23

Browse files
Update libcxx/include/__ranges/concat_view.h
Co-authored-by: A. Jiang <[email protected]>
1 parent 29114a2 commit d1deb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__ranges/concat_view.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ class concat_view<_Views...>::__iterator {
542542
(... && indirectly_swappable<iterator_t<__maybe_const<_Const, _Views>>>)
543543
{
544544
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
545-
!__x.__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
545+
!__x.__it_.valueless_by_exception(), "Trying to swap iterators of concat_view where at least one iterator is valueless.");
546546
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
547547
!__y.__it_.valueless_by_exception(), "Trying to swap iterators of concat_view where at least one iterator is valueless.");
548548
__variant_detail::__visitation::__variant::__visit_value(

0 commit comments

Comments
 (0)