diff options
Diffstat (limited to 'sources/shiboken2/ApiExtractor/tests/testreferencetopointer.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/tests/testreferencetopointer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/tests/testreferencetopointer.cpp b/sources/shiboken2/ApiExtractor/tests/testreferencetopointer.cpp index c7b4abe9a..228bfaecd 100644 --- a/sources/shiboken2/ApiExtractor/tests/testreferencetopointer.cpp +++ b/sources/shiboken2/ApiExtractor/tests/testreferencetopointer.cpp @@ -51,7 +51,7 @@ void TestReferenceToPointer::testReferenceToPointerArgument() QVERIFY(classB); const AbstractMetaFunction* func = classB->findFunction(QLatin1String("dummy")); QVERIFY(func); - QCOMPARE(func->arguments().first()->type()->minimalSignature(), QLatin1String("A*&")); + QCOMPARE(func->arguments().constFirst()->type()->minimalSignature(), QLatin1String("A*&")); } QTEST_APPLESS_MAIN(TestReferenceToPointer) |