mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +00:00
LibC: Replace [[gnu::aligned(16)]] with C++ standard alignas(16)
This commit is contained in:
parent
6c06b70911
commit
36af2fdc4f
Notes:
sideshowbarker
2024-07-17 18:04:14 +09:00
Author: https://github.com/rouseabout Commit: https://github.com/SerenityOS/serenity/commit/36af2fdc4f Pull-request: https://github.com/SerenityOS/serenity/pull/12828 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/kleinesfilmroellchen
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ struct ChunkedBlock : public CommonHeader {
|
|||
size_t m_next_lazy_freelist_index { 0 };
|
||||
FreelistEntry* m_freelist { nullptr };
|
||||
size_t m_free_chunks { 0 };
|
||||
[[gnu::aligned(16)]] unsigned char m_slot[0];
|
||||
alignas(16) unsigned char m_slot[0];
|
||||
|
||||
void* chunk(size_t index)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue