aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/messages.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-10 08:33:01 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-10 10:03:21 +0000
commit1ef022dc40a859390182a2bfaac311ee1843d9a2 (patch)
treead52ddd71ea4ad3fcb81b68dff21476457aa7742 /sources/shiboken6/ApiExtractor/messages.h
parent3464f53cb98cbd70a4e46a5c2f4c59a0c8cb16a0 (diff)
shiboken6: Port AbstractMetaField to use QSharedDataPointer
Fold AbstractMetaVariable into AbstractMetaField and use a QSharedDataPointer for it. Change the client code to store it by value. For the find() and traverseField() functions, use a std::optional to replace the pointer. Change-Id: Ibaa301b9aaae8851fcaa077327235cc5aaad7342 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/messages.h')
-rw-r--r--sources/shiboken6/ApiExtractor/messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/messages.h b/sources/shiboken6/ApiExtractor/messages.h
index 8292e491e..54e961237 100644
--- a/sources/shiboken6/ApiExtractor/messages.h
+++ b/sources/shiboken6/ApiExtractor/messages.h
@@ -149,7 +149,7 @@ QString msgCannotFindDocumentation(const QString &fileName,
QString msgCannotFindDocumentation(const QString &fileName,
const AbstractMetaClass *metaClass,
- const AbstractMetaField *f,
+ const AbstractMetaField &f,
const QString &query);
QString msgXpathDocModificationError(const DocModificationList& mods,