aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/generator/generator.cpp')
-rw-r--r--sources/shiboken6/generator/generator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken6/generator/generator.cpp b/sources/shiboken6/generator/generator.cpp
index deb27de80..ca33fac02 100644
--- a/sources/shiboken6/generator/generator.cpp
+++ b/sources/shiboken6/generator/generator.cpp
@@ -177,7 +177,7 @@ struct Generator::GeneratorPrivate
QStringList instantiatedContainersNames;
AbstractMetaTypeList instantiatedContainers;
AbstractMetaTypeList instantiatedSmartPointers;
- AbstractMetaClassList m_invisibleTopNamespaces;
+ AbstractMetaClassCList m_invisibleTopNamespaces;
};
Generator::Generator() : m_d(new GeneratorPrivate)
@@ -353,7 +353,7 @@ bool Generator::handleOption(const QString & /* key */, const QString & /* value
return false;
}
-const AbstractMetaClassList &Generator::invisibleTopNamespaces() const
+const AbstractMetaClassCList &Generator::invisibleTopNamespaces() const
{
return m_d->m_invisibleTopNamespaces;
}
@@ -460,7 +460,7 @@ bool Generator::generate()
const auto smartPointers = m_d->api.smartPointers();
for (const AbstractMetaType &type : qAsConst(m_d->instantiatedSmartPointers)) {
- AbstractMetaClass *smartPointerClass =
+ const AbstractMetaClass *smartPointerClass =
AbstractMetaClass::findClass(smartPointers, type.typeEntry());
if (!smartPointerClass) {
qCWarning(lcShiboken, "%s",