Skip to content

Commit 42d1b58

Browse files
Update libcxx/include/__ranges/concat_view.h
Co-authored-by: A. Jiang <[email protected]>
1 parent 82603c6 commit 42d1b58

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
@@ -561,7 +561,7 @@ class concat_view<_Views...>::__iterator {
561561
requires __concat_is_random_access<_Const, _Views...>
562562
{
563563
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
564-
!__x.__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
564+
!__x.__it_.valueless_by_exception(), "Trying to subtract two iterators of concat_view where at least one iterator is valueless.");
565565
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
566566
!__y.__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
567567
size_t __ix = __x.__it_.index();

0 commit comments

Comments
 (0)