Files
ladybird/Kernel
Daniel Bertalan ffb118265b Kernel: Remove superfluous alignas(T) from KResultOr<T>
Since `m_storage` is already guaranteed to be correctly aligned for the
type, we can forgo specifying it for the entire class.

This fixes an error: previously, this would *force* the value type's
alignment on the entire class, which would try to make 1-byte aligned
ints with `KResultOr<bool>`. GCC somehow compiled this (probably just
ignored it), but this caused a build error with Clang.

Closes #8072
2021-06-24 17:35:49 +04:30
..
2021-06-24 00:38:23 +02:00
2021-06-24 17:35:49 +04:30
2021-06-24 00:38:23 +02:00
2021-06-24 10:29:09 +02:00
2021-06-24 10:29:09 +02:00
2021-06-24 00:38:23 +02:00
2021-06-24 00:38:23 +02:00
2021-06-24 00:38:23 +02:00
2021-06-24 00:38:23 +02:00
2021-06-24 00:38:23 +02:00
2021-06-24 00:38:23 +02:00
2021-06-24 00:38:23 +02:00
2021-06-04 10:39:41 +02:00