Skip to content

Commit 610a86b

Browse files
committed
Fix _Cat capitalization
1 parent 956934b commit 610a86b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libcxx/include/__compare/three_way_comparable.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ concept three_way_comparable =
4040

4141
# if _LIBCPP_STD_VER >= 23
4242

43-
template <class _Tp, class _Up, class _cat = partial_ordering>
43+
template <class _Tp, class _Up, class _Cat = partial_ordering>
4444
concept three_way_comparable_with =
45-
three_way_comparable<_Tp, _cat> && three_way_comparable<_Up, _cat> && __comparison_common_type_with<_Tp, _Up> &&
46-
three_way_comparable<common_reference_t<__make_const_lvalue_ref<_Tp>, __make_const_lvalue_ref<_Up>>, _cat> &&
45+
three_way_comparable<_Tp, _Cat> && three_way_comparable<_Up, _Cat> && __comparison_common_type_with<_Tp, _Up> &&
46+
three_way_comparable<common_reference_t<__make_const_lvalue_ref<_Tp>, __make_const_lvalue_ref<_Up>>, _Cat> &&
4747
__weakly_equality_comparable_with<_Tp, _Up> && __partially_ordered_with<_Tp, _Up> &&
4848
requires(__make_const_lvalue_ref<_Tp> __t, __make_const_lvalue_ref<_Up> __u) {
49-
{ __t <=> __u } -> __compares_as<_cat>;
50-
{ __u <=> __t } -> __compares_as<_cat>;
49+
{ __t <=> __u } -> __compares_as<_Cat>;
50+
{ __u <=> __t } -> __compares_as<_Cat>;
5151
};
5252

5353
# else

0 commit comments

Comments
 (0)