diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-09-03 23:40:56 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-09-04 10:06:19 +0200 |
commit | 2737b5e36a55d9fac78d5339ce4f4f87f8c9a8a6 (patch) | |
tree | 619fe6ff9efab30c5ea94dd7c9bf600ceef32c22 /src/gui/painting | |
parent | 18088d4706bdd2fefafe7dbb44dc467126f2c795 (diff) |
QUnicodeTables: pack Properties struct
GCC doesn't like the sequence
: 5
: 5
: 8
: 6
: 8
and inserts a :6 padding between the :5 and the :8 and a :2 padding
between the :6 and the :8, growing the bitfield by 8 bits of embedded
padding and another byte to bring the struct back to sizeof % 2 == 0.
Fix by reshuffling the elements and adding a static_assert for the
next round.
Saves ~5KiB in QtCore executable size.
Change-Id: I4758a6f48ba389abc2aee92f60997d42ebb0e5b8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/painting')
0 files changed, 0 insertions, 0 deletions