mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 13:19:02 +00:00
Userland: Switch static_assert of type sizes to AK::AssertSize
This commit is contained in:
parent
472454cded
commit
3e45c3ed90
Notes:
sideshowbarker
2024-07-18 04:40:18 +09:00
Author: https://github.com/bgianfo
Commit: 3e45c3ed90
Pull-request: https://github.com/SerenityOS/serenity/pull/9834
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
5 changed files with 7 additions and 7 deletions
|
@ -28,7 +28,7 @@ union MMX {
|
|||
i16x4 v16u;
|
||||
i32x2 v32u;
|
||||
};
|
||||
static_assert(sizeof(MMX) == sizeof(u64));
|
||||
static_assert(AssertSize<MMX, sizeof(u64)>());
|
||||
|
||||
class SoftFPU final {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue