Skip to content

Commit c77f47d

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

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
@@ -350,7 +350,7 @@ class concat_view<_Views...>::__iterator {
350350

351351
_LIBCPP_HIDE_FROM_ABI constexpr decltype(auto) operator*() const {
352352
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
353-
!__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
353+
!__it_.valueless_by_exception(), "Trying to dereference a valueless iterator of concat_view.");
354354
return __variant_detail::__visitation::__variant::__visit_value(
355355
[](auto&& __it) -> __concat_reference_t<__maybe_const<_Const, _Views>...> { return *__it; }, __it_);
356356
}

0 commit comments

Comments
 (0)