summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2025-07-03 16:33:59 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-08-11 09:14:50 +0000
commit26a5fcc77fed49d9112ee8c46d8c35b39e4f0cbc (patch)
treeb8c4f582cbaee700ffa460a4fdfe9e72d558cbd6
parentcedd77ec89370d6576be87003500cdc72ae8f8db (diff)
tests: tst_bic - un-const sizeDiff6.9
There's on mingw, there's a sizeDiff.removed.removeAll is called, which cannot be done on a const SizeDiff (QStringList). Amends 63eec03997cb3a22b1596829a864a80efd192dcb Pick-to: 6.8 Change-Id: Ic2857b438e2a4cb9eb8b9c9893331e26d93d9752 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 23fff07fae493bebfbb4822a85d8af6023a8b526) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 2a64dcbdc451f6fc4dc06f5fa3e1209271b3ae01)
-rw-r--r--tests/postbuild/bic/tst_bic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postbuild/bic/tst_bic.cpp b/tests/postbuild/bic/tst_bic.cpp
index 2f0fd51a..fbec27ec 100644
--- a/tests/postbuild/bic/tst_bic.cpp
+++ b/tests/postbuild/bic/tst_bic.cpp
@@ -641,7 +641,7 @@ void tst_Bic::sizesAndVTables()
isFailed = true;
}
- const QBic::SizeDiff sizeDiff = bic.diffSizes(oldLibInfo, currentLibInfo);
+ QBic::SizeDiff sizeDiff = bic.diffSizes(oldLibInfo, currentLibInfo);
if (!sizeDiff.mismatch.isEmpty()) {
for (QString className : sizeDiff.mismatch)
qWarning() << "size mismatch for" << className