aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-01-15 17:17:41 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2018-01-16 11:36:39 +0000
commit196c691ebce3a48c6479162f3084790b6d0af8b8 (patch)
tree51d345da5896628450938ecf2c73ac97bbe6a99d /src/quick/items
parent4f48a54fdcc78416070c6846d8df4aacf36194a7 (diff)
QQuickShapePrivate: use header init, order storage by type
Header initialization makes it more clear that initialization is being done properly (and in fact a couple of these were not). Ordering by type allows compilers to pack the bools and enums into a bitfield. (Unfortunately explicit bitfields aren't syntactically compatible with header initialization, so we leave it up to the compiler to make this optimization on its own, since Shape is not intended to be used in large numbers anyway.) Change-Id: I68b1f5dec59bc2c487ab37bd3495eca19736bc21 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/items')
0 files changed, 0 insertions, 0 deletions