diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-20 19:59:06 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-20 19:59:29 +0200 |
commit | e8d90a9e62898d3b746772d9ae8542b87efcecf8 (patch) | |
tree | f4ad1e6906f5a9ea805b677d6d878204b64e85e3 /sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp | |
parent | f1bcf7d077282f9248aee570545765ef60af00e3 (diff) | |
parent | a14ea7738f493280f5c7b6e4a8834a7d1daacd1e (diff) |
Merge remote-tracking branch 'origin/5.15' into dev
Change-Id: Iaabea628351fac9da88b5779b537f62262ff82a7
Diffstat (limited to 'sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/tests/testremoveimplconv.cpp | 3 |
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) |