diff --git a/tests/unit/chunked_fifo_test.cc b/tests/unit/chunked_fifo_test.cc index 4c4f9cfccc..a8b78722a6 100644 --- a/tests/unit/chunked_fifo_test.cc +++ b/tests/unit/chunked_fifo_test.cc @@ -32,25 +32,19 @@ #include #include #include -#if __has_include() #include -#endif #if __has_include() #include #endif using namespace seastar; -#ifdef __cpp_lib_concepts static_assert(std::weakly_incrementable::iterator>); static_assert(std::weakly_incrementable::const_iterator>); static_assert(std::sentinel_for::iterator, chunked_fifo::iterator>); static_assert(std::sentinel_for::const_iterator, chunked_fifo::const_iterator>); -#endif -#ifdef __cpp_lib_ranges static_assert(std::ranges::range>); -#endif BOOST_AUTO_TEST_CASE(chunked_fifo_small) { // Check all the methods of chunked_fifo but with a trivial type (int) and diff --git a/tests/unit/circular_buffer_test.cc b/tests/unit/circular_buffer_test.cc index bde70c348c..61a20495cb 100644 --- a/tests/unit/circular_buffer_test.cc +++ b/tests/unit/circular_buffer_test.cc @@ -27,9 +27,7 @@ #include #include #include -#if __has_include() #include -#endif #if __has_include() #include #endif @@ -38,9 +36,7 @@ using namespace seastar; -#ifdef __cpp_lib_ranges static_assert(std::ranges::range>); -#endif BOOST_AUTO_TEST_CASE(test_erasing) { circular_buffer buf;