summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Blechmann <[email protected]>2025-07-03 16:33:59 +0800
committerTim Blechmann <[email protected]>2025-07-04 18:55:19 +0800
commit23fff07fae493bebfbb4822a85d8af6023a8b526 (patch)
tree592dbf0c28302ff03c1e64c3c4c0b8e91c40aabe
parentf9555f998a4d4f80b51c0dcb77ce28c9ed2d9031 (diff)
tests: tst_bic - un-const sizeDiffHEADdev
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 6.9 6.10 Change-Id: Ic2857b438e2a4cb9eb8b9c9893331e26d93d9752 Reviewed-by: Joerg Bornemann <[email protected]>
-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 c4ccb114..44bbb029 100644
--- a/tests/postbuild/bic/tst_bic.cpp
+++ b/tests/postbuild/bic/tst_bic.cpp
@@ -646,7 +646,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