Kernel: Add non-const KBuffer::impl() getter

This commit is contained in:
Andreas Kling 2021-03-10 19:59:34 +01:00
parent a77ecac900
commit 839d2d70a4
Notes: sideshowbarker 2024-07-18 21:32:57 +09:00

View file

@ -162,6 +162,7 @@ public:
void set_size(size_t size) { m_impl->set_size(size); }
[[nodiscard]] KBufferImpl& impl() { return *m_impl; }
[[nodiscard]] const KBufferImpl& impl() const { return *m_impl; }
[[nodiscard]] RefPtr<KBufferImpl> take_impl() { return move(m_impl); }