diff options
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testarrayargument.cpp')
-rw-r--r-- | sources/shiboken6/ApiExtractor/tests/testarrayargument.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testarrayargument.cpp b/sources/shiboken6/ApiExtractor/tests/testarrayargument.cpp index df6280725..22cf7ab40 100644 --- a/sources/shiboken6/ApiExtractor/tests/testarrayargument.cpp +++ b/sources/shiboken6/ApiExtractor/tests/testarrayargument.cpp @@ -63,8 +63,8 @@ void TestArrayArgument::testArrayArgumentWithSizeDefinedByInteger() static QString functionMinimalSignature(const AbstractMetaClass *c, const QString &name) { - const AbstractMetaFunction *f = c->findFunction(name); - return f ? f->minimalSignature() : QString(); + const auto f = c->findFunction(name); + return f.isNull() ? QString() : f->minimalSignature(); } void TestArrayArgument::testArraySignature() |