diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2023-09-01 13:48:30 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2023-09-03 18:22:06 +0200 |
commit | d752da1857358726b89027ac039c20c1cd696b36 (patch) | |
tree | 5f8bea2894ed31f62a2ec43fb18ac430c41c6c9d /tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp | |
parent | d85663ced8762b3096dbcbcfbc3894895a6e11c7 (diff) |
QAnyStringView: fix construction from QL1SV for bootstrapped builds
The SizeShift was not taken into account when constructing QASV from
QL1SV. This is not an issue in normal Qt builds, because SizeShift == 0
there.
But in bootstrapped case (and in future Qt 7) SizeShift changes to 2,
and the bug becomes visible.
The added test-cases do not really reveal the issue, because we do
not run tests in bootstrapped builds, but at least they will help
to prevent the issues in Qt 7.
Pick-to: 6.6 6.5 6.2
Change-Id: I337b37b5230323a5357f48fd1c9bf799ca507d52
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp')
0 files changed, 0 insertions, 0 deletions