mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibJS: Make sure the HeapBlock cell storage is alignas(Cell)
This commit is contained in:
parent
51dbea3a0e
commit
d1592643a6
Notes:
sideshowbarker
2024-07-19 01:59:51 +09:00
Author: https://github.com/awesomekling
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