Skip to content

Commit 18f829c

Browse files
Update libcxx/include/__ranges/concat_view.h
Co-authored-by: A. Jiang <[email protected]>
1 parent 67023db commit 18f829c

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
@@ -381,7 +381,7 @@ class concat_view<_Views...>::__iterator {
381381
requires __concat_is_bidirectional<_Const, _Views...>
382382
{
383383
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
384-
!__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
384+
!__it_.valueless_by_exception(), "Trying to decrement a valueless iterator of concat_view.");
385385
size_t __active_index = __it_.index();
386386
__apply_at_index<variant_size_v<decltype(__it_)>>(__active_index, [&](auto __index_constant) {
387387
constexpr size_t __i = __index_constant.value;

0 commit comments

Comments
 (0)