Skip to content

Commit cb6e3a7

Browse files
Update to use __is_segmented_iterator_v, take 2
1 parent c4ee5fa commit cb6e3a7

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
@@ -45,7 +45,7 @@ __fill(_RandomAccessIterator __first, _RandomAccessIterator __last, const _Tp& _
4545
#ifndef _LIBCPP_CXX03_LANG
4646
template <class _SegmentedIterator,
4747
class _Tp,
48-
__enable_if_t<__is_segmented_iterator<_SegmentedIterator>::value, int> = 0>
48+
__enable_if_t<__is_segmented_iterator_v<_SegmentedIterator>, int> = 0>
4949
inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _SegmentedIterator
5050
__fill(_SegmentedIterator __first, _SegmentedIterator __last, const _Tp& __value) {
5151
using __local_iterator_t = typename __segmented_iterator_traits<_SegmentedIterator>::__local_iterator;

0 commit comments

Comments
 (0)