Skip to content

Commit f81457f

Browse files
committed
Try to fix CI
1 parent 4f009b5 commit f81457f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libcxx/test/support/test_container_comparisons.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ constexpr bool test_sequence_container_spaceship() {
8888
std::weak_ordering>();
8989

9090
// Thanks to SFINAE, the following is not a compiler error but returns `false`
91-
struct NonComparable {};
9291
static_assert(!std::three_way_comparable<Container<NonComparable>>);
9392

9493
return true;
@@ -163,7 +162,6 @@ constexpr void test_sequence_container_adaptor_spaceship_with_type() {
163162
template <template <typename...> typename ContainerAdaptor, template <typename...> typename Container>
164163
constexpr bool test_sequence_container_adaptor_spaceship() {
165164
// Thanks to SFINAE, the following is not a compiler error but returns `false`
166-
struct NonComparable {};
167165
static_assert(!std::three_way_comparable<ContainerAdaptor<NonComparable>>);
168166

169167
// The container should fulfill `std::three_way_comparable`
@@ -301,7 +299,6 @@ constexpr void test_ordered_map_container_spaceship_with_type(Compare comp) {
301299
template <template <typename...> typename Container>
302300
constexpr bool test_ordered_map_container_spaceship() {
303301
// Thanks to SFINAE, the following is not a compiler error but returns `false`
304-
struct NonComparable {};
305302
static_assert(!std::three_way_comparable<Container<int, NonComparable>>);
306303

307304
// The container should fulfill `std::three_way_comparable`
@@ -444,7 +441,6 @@ constexpr void test_ordered_set_spaceship_with_type(Compare comp) {
444441
template <template <typename...> typename Container>
445442
constexpr bool test_ordered_set_container_spaceship() {
446443
// Thanks to SFINAE, the following is not a compiler error but returns `false`
447-
struct NonComparable {};
448444
static_assert(!std::three_way_comparable<Container<NonComparable>>);
449445

450446
// The container should fulfill `std::three_way_comparable`

0 commit comments

Comments
 (0)