diff --git a/src/util/AllocatedArray.hxx b/src/util/AllocatedArray.hxx index fc6400014..ead3a49b3 100644 --- a/src/util/AllocatedArray.hxx +++ b/src/util/AllocatedArray.hxx @@ -106,6 +106,14 @@ public: return *this; } + operator ConstBuffer() const noexcept { + return buffer; + } + + operator WritableBuffer() noexcept { + return buffer; + } + constexpr bool IsNull() const noexcept { return buffer.IsNull(); }