diff --git a/core/test/qa_buffer.cpp b/core/test/qa_buffer.cpp index 51a35872..efd0f6bf 100644 --- a/core/test/qa_buffer.cpp +++ b/core/test/qa_buffer.cpp @@ -22,15 +22,6 @@ struct TestStruct { [[nodiscard]] constexpr bool test() const noexcept { return true; } }; -void consumableInputRangeTest1(auto in) { [[maybe_unused]] const auto inFirst = in[0]; } - -void consumableInputRangeTest2(gr::ConsumableSpan auto in) { [[maybe_unused]] const auto inFirst = in[0]; } - -template -void consumableInputRangeTest3(std::span in) { - [[maybe_unused]] const auto inFirst = in[0]; -} - struct AllocatorPortable {}; struct AllocatorPosix {}; using CircularBufferSingle = gr::CircularBuffer; @@ -101,11 +92,6 @@ const boost::ut::suite BasicConceptsTests = [] { PublishableSpan auto value = writer.template tryReserve(10); expect(eq(0UZ, value.size())) << "for " << typeName << "\n"; } - - consumableInputRangeTest1(cSpan); - consumableInputRangeTest2(cSpan); - // consumableInputRangeTest3(cSpan); // this does not compile - consumableInputRangeTest3(static_cast>(cSpan)); } | CircularBufferTypesToTest(); };