1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 13:37:44 +00:00

LibJS: Remove unused HeapBlock::operator delete()

This commit is contained in:
Andreas Kling 2021-05-27 20:07:34 +02:00
parent 606b483231
commit 14585a9cba
2 changed files with 0 additions and 12 deletions

View file

@ -21,8 +21,6 @@ public:
static constexpr size_t block_size = 16 * KiB;
static NonnullOwnPtr<HeapBlock> create_with_cell_size(Heap&, size_t);
void operator delete(void*);
size_t cell_size() const { return m_cell_size; }
size_t cell_count() const { return (block_size - sizeof(HeapBlock)) / m_cell_size; }
bool is_full() const { return !has_lazy_freelist() && !m_freelist; }