From 3bc3b8d69a291aa513d2d120c8ef46f968f1efdf Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 28 Jun 2023 08:27:42 +0200 Subject: [PATCH] tst_QXmlStream: remove unneeded _ba UDLs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... and collapse adjacent C string literals. Both QStringBuilder and non-QStringBuilder builds have no problem resolving an operator+ for char[] and QByteArray, so there's no need to turn the char[] into a QByteArray using the _ba UDL first. It just causes pain because not all active branches support this UDL, so remove, to bring this code in line with what the cherry-picks to 6.2 and 5.15 must needs had to use. Amends 6326bec46a618c72feba4a2bb994c4d475050aed. Pick-to: 6.6 6.5 6.5.2 Change-Id: Id3d61483729c51c82f58b826efcc8fc7960c3ccd Reviewed-by: MÃ¥rten Nordheim Reviewed-by: Ahmad Samir --- .../serialization/qxmlstream/tst_qxmlstream.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp b/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp index 46f8653fead..3a1b4511e80 100644 --- a/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp +++ b/tests/auto/corelib/serialization/qxmlstream/tst_qxmlstream.cpp @@ -1837,19 +1837,19 @@ void tst_QXmlStream::test_fastScanName_data() const // 4096 is the limit in QXmlStreamReaderPrivate::fastScanName() - QByteArray arr = "