diff --git a/src/util/HugeAllocator.hxx b/src/util/HugeAllocator.hxx index 7ffd07c6f..69d7e7af0 100644 --- a/src/util/HugeAllocator.hxx +++ b/src/util/HugeAllocator.hxx @@ -181,6 +181,14 @@ public: return buffer != nullptr; } + constexpr operator std::span() noexcept { + return buffer; + } + + constexpr operator std::span() noexcept { + return buffer; + } + /** * Returns the number of allocated elements. */