mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibJS: Make sure the HeapBlock cell storage is alignas(Cell)
This commit is contained in:
parent
51dbea3a0e
commit
d1592643a6
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ private:
|
|||
Heap& m_heap;
|
||||
size_t m_cell_size { 0 };
|
||||
FreelistEntry* m_freelist { nullptr };
|
||||
u8 m_storage[];
|
||||
alignas(Cell) u8 m_storage[];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue