1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:57:34 +00:00

Userland: Switch static_assert of type sizes to AK::AssertSize

This commit is contained in:
Brian Gianforcaro 2021-09-05 01:00:46 -07:00 committed by Andreas Kling
parent 472454cded
commit 3e45c3ed90
5 changed files with 7 additions and 7 deletions

View file

@ -29,7 +29,7 @@ struct [[gnu::packed]] FontFileHeader {
u16 unused;
};
static_assert(sizeof(FontFileHeader) == 80);
static_assert(AssertSize<FontFileHeader, 80>());
NonnullRefPtr<Font> BitmapFont::clone() const
{