diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-12-09 23:50:02 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-02-28 16:53:10 +0000 |
commit | 45c096a54363c2c2b013ef86f0646bef791501e8 (patch) | |
tree | 9413cf31aba705ee7e94c555529f633e0233bf81 /cmake/QtTestHelpers.cmake | |
parent | 8ecd81ae86b07ef0ec10f17a343d349c07b1a29b (diff) |
QXmlStreamWriter: hold the indent in std::string, not QByteArray
This means that, thanks to std::string's SSO, we won't allocate to
hold the indent step string anymore, at least for non-pathological
indents of up to 15-23 characters, depending on the particular
std::string implementation.
Task-number: QTBUG-103302
Change-Id: I63685619e86a3aa7bcfac41db84f64a78859bdb7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'cmake/QtTestHelpers.cmake')
0 files changed, 0 insertions, 0 deletions