aboutsummaryrefslogtreecommitdiffstats
path: root/ApiExtractor/tests/testmultipleinheritance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ApiExtractor/tests/testmultipleinheritance.cpp')
-rw-r--r--ApiExtractor/tests/testmultipleinheritance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ApiExtractor/tests/testmultipleinheritance.cpp b/ApiExtractor/tests/testmultipleinheritance.cpp
index 01c05348d..67c9089ce 100644
--- a/ApiExtractor/tests/testmultipleinheritance.cpp
+++ b/ApiExtractor/tests/testmultipleinheritance.cpp
@@ -59,7 +59,7 @@ void TestMultipleInheritance::testVirtualClass()
AbstractMetaClassList classes = builder->classes();
QCOMPARE(classes.count(), 4);
- AbstractMetaClass* classD = classes.findClass(QLatin1String("D"));
+ const AbstractMetaClass *classD = AbstractMetaClass::findClass(classes, QLatin1String("D"));
bool functionFound = false;
foreach (AbstractMetaFunction* f, classD->functions()) {
if (f->name() == QLatin1String("theBug")) {