diff options
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testextrainclude.cpp')
-rw-r--r-- | sources/shiboken6/ApiExtractor/tests/testextrainclude.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testextrainclude.cpp b/sources/shiboken6/ApiExtractor/tests/testextrainclude.cpp index e54d3b914..048626d2a 100644 --- a/sources/shiboken6/ApiExtractor/tests/testextrainclude.cpp +++ b/sources/shiboken6/ApiExtractor/tests/testextrainclude.cpp @@ -49,8 +49,8 @@ void TestExtraInclude::testGlobalExtraIncludes() QVERIFY(AbstractMetaClass::findClass(classes, u"A")); auto *td = TypeDatabase::instance(); - const TypeSystemTypeEntry *module = td->defaultTypeSystemType(); - QVERIFY(module); + TypeSystemTypeEntryCPtr module = td->defaultTypeSystemType(); + QVERIFY(!module.isNull()); QCOMPARE(module->name(), u"Foo"); QList<Include> includes = module->extraIncludes(); |