aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-20 19:59:06 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-20 19:59:29 +0200
commite8d90a9e62898d3b746772d9ae8542b87efcecf8 (patch)
treef4ad1e6906f5a9ea805b677d6d878204b64e85e3 /sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp
parentf1bcf7d077282f9248aee570545765ef60af00e3 (diff)
parenta14ea7738f493280f5c7b6e4a8834a7d1daacd1e (diff)
Merge remote-tracking branch 'origin/5.15' into dev
Diffstat (limited to 'sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp b/sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp
index 96090d1cc..20170089a 100644
--- a/sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp
+++ b/sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp
@@ -63,7 +63,8 @@ void TestRemoveImplConv::testRemoveImplConv()
QVERIFY(classC);
AbstractMetaFunctionList implConv = classC->implicitConversions();
QCOMPARE(implConv.count(), 1);
- QCOMPARE(implConv.first()->arguments().first()->type()->typeEntry(), classB->typeEntry());
+ QCOMPARE(implConv.constFirst()->arguments().constFirst()->type()->typeEntry(),
+ classB->typeEntry());
}
QTEST_APPLESS_MAIN(TestRemoveImplConv)