Skip to content

Commit 43a1f59

Browse files
committed
iter-reference
1 parent 95a4638 commit 43a1f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__algorithm/stable_sort.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ void __stable_sort(_RandomAccessIterator __first,
245245
constexpr auto __default_comp =
246246
__desugars_to_v<__totally_ordered_less_tag, __remove_cvref_t<_Compare>, value_type, value_type >;
247247
constexpr auto __integral_value =
248-
is_integral_v<value_type > && is_same_v< value_type&, iter_reference_t<_RandomAccessIterator>>;
248+
is_integral_v<value_type > && is_same_v< value_type&, __iter_reference<_RandomAccessIterator>>;
249249
constexpr auto __allowed_radix_sort = __default_comp && __integral_value;
250250
if constexpr (__allowed_radix_sort) {
251251
if (__len <= __buff_size && __len >= static_cast<difference_type>(__radix_sort_min_bound<value_type>()) &&

0 commit comments

Comments
 (0)