mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Remove more unused KBuffer API
This commit is contained in:
parent
881923dd47
commit
60b892772f
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/60b892772f0
1 changed files with 0 additions and 6 deletions
|
@ -118,14 +118,8 @@ public:
|
|||
[[nodiscard]] size_t size() const { return m_impl->size(); }
|
||||
[[nodiscard]] size_t capacity() const { return m_impl->capacity(); }
|
||||
|
||||
[[nodiscard]] void* end_pointer() { return data() + size(); }
|
||||
[[nodiscard]] const void* end_pointer() const { return data() + size(); }
|
||||
|
||||
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; }
|
||||
|
||||
private:
|
||||
explicit KBuffer(NonnullRefPtr<KBufferImpl> impl)
|
||||
: m_impl(move(impl))
|
||||
|
|
Loading…
Reference in a new issue