diff options
Diffstat (limited to 'AK/String.cpp')
-rw-r--r-- | AK/String.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/String.cpp b/AK/String.cpp index 49aed1d247..d1dc6d2e9c 100644 --- a/AK/String.cpp +++ b/AK/String.cpp @@ -77,7 +77,7 @@ private: bool m_substring { false }; bool m_is_fly_string { false }; - u8 m_bytes_or_substring_data[0]; + alignas(SubstringData) u8 m_bytes_or_substring_data[0]; }; void StringData::operator delete(void* ptr) |