From 7d4a799f4a0b27b0544dbbdd5bf57e938458e687 Mon Sep 17 00:00:00 2001 From: Konstantin Varlamov Date: Tue, 7 Mar 2023 17:51:42 -0800 Subject: [PATCH] [libc++][ranges][NFC] Fix incorrect static asserts in `almost_satisfies_types.h` --- libcxx/test/support/almost_satisfies_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/test/support/almost_satisfies_types.h b/libcxx/test/support/almost_satisfies_types.h index 13f28c1..4c9583b 100644 --- a/libcxx/test/support/almost_satisfies_types.h +++ b/libcxx/test/support/almost_satisfies_types.h @@ -58,7 +58,7 @@ using InputRangeNotIndirectlyReadable = UncheckedRange); static_assert(!std::indirectly_readable); static_assert(!std::input_iterator); -static_assert(!std::ranges::input_range); +static_assert(!std::ranges::input_range); class InputIteratorNotInputOrOutputIterator { public: @@ -287,7 +287,7 @@ using OutputRangeNotInputOrOutputIterator = UncheckedRange); static_assert(std::indirectly_writable); static_assert(!std::output_iterator); -static_assert(!std::ranges::input_range); +static_assert(!std::ranges::output_range); class OutputIteratorNotIndirectlyWritable { public: -- 2.7.4