Skip to content

Commit 10d0e89

Browse files
Update libcxx/include/__ranges/concat_view.h
Co-authored-by: A. Jiang <[email protected]>
1 parent 4ef9656 commit 10d0e89

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
@@ -544,7 +544,7 @@ class concat_view<_Views...>::__iterator {
544544
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
545545
!__x.__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
546546
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
547-
!__y.__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
547+
!__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(
549549
[&](const auto& __it1, const auto& __it2) {
550550
if constexpr (is_same_v<decltype(__it1), decltype(__it2)>) {

0 commit comments

Comments
 (0)