summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Heap/HeapBlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Heap/HeapBlock.h')
-rw-r--r--Userland/Libraries/LibJS/Heap/HeapBlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Heap/HeapBlock.h b/Userland/Libraries/LibJS/Heap/HeapBlock.h
index 750394862c..891cc89fed 100644
--- a/Userland/Libraries/LibJS/Heap/HeapBlock.h
+++ b/Userland/Libraries/LibJS/Heap/HeapBlock.h
@@ -68,7 +68,7 @@ public:
Heap& heap() { return m_heap; }
- static HeapBlock* from_cell(const Cell* cell)
+ static HeapBlock* from_cell(Cell const* cell)
{
return reinterpret_cast<HeapBlock*>((FlatPtr)cell & ~(block_size - 1));
}
@@ -84,7 +84,7 @@ public:
return cell(cell_index);
}
- bool is_valid_cell_pointer(const Cell* cell)
+ bool is_valid_cell_pointer(Cell const* cell)
{
return cell_from_possible_pointer((FlatPtr)cell);
}