Commit b1bef9c2 authored by Max Kellermann's avatar Max Kellermann Committed by Max Kellermann

util/AllocatedArray: add method data()

parent 5b0ef7ea
......@@ -148,6 +148,14 @@ public:
return buffer.size;
}
pointer data() noexcept {
return buffer.data;
}
const_pointer data() const noexcept {
return buffer.data;
}
reference front() noexcept {
return buffer.front();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment