From 5d2b1b7aa754ae6b8c75eb9a171a3986f5d2d85d Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 7 May 2024 12:33:07 +0100 Subject: [PATCH] UnicodeData: Remove unnecessary pack pragmas --- modules/juce_graphics/unicode/juce_UnicodeData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_graphics/unicode/juce_UnicodeData.cpp b/modules/juce_graphics/unicode/juce_UnicodeData.cpp index c8bf5c82a7..b4d35839d2 100644 --- a/modules/juce_graphics/unicode/juce_UnicodeData.cpp +++ b/modules/juce_graphics/unicode/juce_UnicodeData.cpp @@ -32,7 +32,6 @@ ============================================================================== */ -#pragma pack(push, 8) struct UnicodeEntry { LineBreakType bt; @@ -42,8 +41,9 @@ struct UnicodeEntry VerticalTransformType vertical; EmojiType emoji; }; -#pragma pack(pop) +static_assert (alignof (UnicodeEntry) == 1); +static_assert (sizeof (UnicodeEntry) == 6); static const int uncompressedUnicodeDataSize = 6684666; static const uint8_t compressedUnicodeData[] =