mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
Kernel: Remove KBuffer::is_null() and bogus call sites :^)
This commit is contained in:
parent
1a04dc9cba
commit
881923dd47
Notes:
sideshowbarker
2024-07-18 04:31:03 +09:00
Author: https://github.com/awesomekling
Commit: 881923dd47
2 changed files with 3 additions and 7 deletions
|
@ -113,8 +113,6 @@ public:
|
|||
return adopt_nonnull_own_or_enomem(new (nothrow) KBuffer(impl.release_nonnull()));
|
||||
}
|
||||
|
||||
[[nodiscard]] bool is_null() const { return false; }
|
||||
|
||||
[[nodiscard]] u8* data() { return m_impl->data(); }
|
||||
[[nodiscard]] const u8* data() const { return m_impl->data(); }
|
||||
[[nodiscard]] size_t size() const { return m_impl->size(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue