summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtabletevent
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2021-01-22 09:26:09 +0100
committerThiago Macieira <thiago.macieira@intel.com>2021-01-26 08:01:27 +0000
commit37e26d2b3011acc86bbda1e1f46114d7c8441915 (patch)
treeb70b9156c8d7a86baaca8c41d9978f755b5ab78f /tests/manual/qtabletevent
parentecc2a28cab4652cf21cb8752e136cf90cbe6008b (diff)
Extend alignment of QArrayData to std::max_align_t in allocationHEADdev
Make stricter alignment requirements for the allocated header This strict alignment allows reallocateUnaligned() to property account for the padding occurring in cases when alignof(QArrayData) < alignof(T) <= alignof(std::max_align_t), which happens to be the case on e.g. 32-bit platforms with specific alignment requirements. This adds 4 bytes (the difference between alignof(std::max_align_t) and sizeof(QArrayData)) of overhead for QString, QByteArray and certain QLists on 32-bit systems. Task-number: QTBUG-90359 Pick-to: 6.0 Change-Id: I8176a4cc79f100ee772b09425e88fe8ff3ae226a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/manual/qtabletevent')
0 files changed, 0 insertions, 0 deletions