diff options
author | Peter Ross <pross@xvid.org> | 2022-03-02 08:34:56 +1100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-02 11:40:37 +0100 |
commit | 36af2fdc4f391b32b11c86ca626d689b498ece10 (patch) | |
tree | bc6ad5d87c7c5ab9d8389b31f2c2aeb0ce81c460 /Userland/Libraries/LibC/mallocdefs.h | |
parent | 6c06b70911d2c3c4bb60aac65ad8fc504a12746a (diff) | |
download | serenity-36af2fdc4f391b32b11c86ca626d689b498ece10.zip |
LibC: Replace [[gnu::aligned(16)]] with C++ standard alignas(16)
Diffstat (limited to 'Userland/Libraries/LibC/mallocdefs.h')
-rw-r--r-- | Userland/Libraries/LibC/mallocdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/mallocdefs.h b/Userland/Libraries/LibC/mallocdefs.h index dd2c3f5cd9..ca7cf9a30f 100644 --- a/Userland/Libraries/LibC/mallocdefs.h +++ b/Userland/Libraries/LibC/mallocdefs.h @@ -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) { |