summaryrefslogtreecommitdiff
path: root/libcxx/include/__ranges/iota_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__ranges/iota_view.h')
-rw-r--r--libcxx/include/__ranges/iota_view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__ranges/iota_view.h b/libcxx/include/__ranges/iota_view.h
index 52e8e822f566..ebfa0220070a 100644
--- a/libcxx/include/__ranges/iota_view.h
+++ b/libcxx/include/__ranges/iota_view.h
@@ -336,7 +336,7 @@ namespace ranges {
_LIBCPP_HIDE_FROM_ABI
constexpr _LIBCPP_EXPLICIT_SINCE_CXX23 iota_view(__iterator __first, __sentinel __last)
- requires(!same_as<_Start, _BoundSentinel> && !same_as<_Start, unreachable_sentinel_t>)
+ requires(!same_as<_Start, _BoundSentinel> && !same_as<_BoundSentinel, unreachable_sentinel_t>)
: iota_view(std::move(__first.__value_), std::move(__last.__bound_sentinel_)) {}
_LIBCPP_HIDE_FROM_ABI