Skip to content

Commit c4ee5fa

Browse files
Update to use __is_segmented_iterator_v
1 parent a6194f9 commit c4ee5fa

File tree

1 file changed

+1
-1
lines changed
  • libcxx/include/__algorithm

1 file changed

+1
-1
lines changed

libcxx/include/__algorithm/fill.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ __fill(_ForwardIterator __first, _Sentinel __last, const _Tp& __value) {
3535
template <class _RandomAccessIterator,
3636
class _Tp,
3737
__enable_if_t<__has_random_access_iterator_category<_RandomAccessIterator>::value &&
38-
!__is_segmented_iterator<_RandomAccessIterator>::value,
38+
!__is_segmented_iterator_v<_RandomAccessIterator>,
3939
int> = 0>
4040
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _RandomAccessIterator
4141
__fill(_RandomAccessIterator __first, _RandomAccessIterator __last, const _Tp& __value) {

0 commit comments

Comments
 (0)