diff options
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testcodeinjection.cpp')
-rw-r--r-- | sources/shiboken6/ApiExtractor/tests/testcodeinjection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testcodeinjection.cpp b/sources/shiboken6/ApiExtractor/tests/testcodeinjection.cpp index c5d00345f..bb8c6882b 100644 --- a/sources/shiboken6/ApiExtractor/tests/testcodeinjection.cpp +++ b/sources/shiboken6/ApiExtractor/tests/testcodeinjection.cpp @@ -66,7 +66,7 @@ void TestCodeInjections::testReadFile() QString code = classA->typeEntry()->codeSnips().constFirst().code(); QVERIFY(code.indexOf(expected) != -1); QVERIFY(classA->typeEntry()->isValue()); - auto *vte = static_cast<const ValueTypeEntry *>(classA->typeEntry()); + auto vte = qSharedPointerCast<const ValueTypeEntry>(classA->typeEntry()); code = vte->targetConversionRule(); QVERIFY(code.indexOf(expected) != -1); } |