diff options
author | Martin Smith <martin.smith@qt.io> | 2019-04-03 11:14:03 +0200 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2019-04-03 14:36:56 +0000 |
commit | c7a953c6b4889d1a51ec10c7b90903eece5b01a7 (patch) | |
tree | 7a68b6cb84760940111f8891376227c37bd5cebc | |
parent | f395f1b47b7f9ebba66730e0518167944b0a47de (diff) | |
download | qttools-c7a953c6b4889d1a51ec10c7b90903eece5b01a7.tar.gz |
qdoc: Add missing override keywords
qdoc redeclares two virtual functions from the QML
parser in qtdeclarative. These declarations were
missing the override keyword, so this update adds it.
Change-Id: Id7db696e22750f0f5649cee5121e8f491cb8f114
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r-- | src/qdoc/qmlmarkupvisitor.h | 2 | ||||
-rw-r--r-- | src/qdoc/qmlvisitor.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/qmlmarkupvisitor.h b/src/qdoc/qmlmarkupvisitor.h index d369454ff..ddd80bbec 100644 --- a/src/qdoc/qmlmarkupvisitor.h +++ b/src/qdoc/qmlmarkupvisitor.h @@ -153,7 +153,7 @@ private: void addVerbatim(QQmlJS::AST::SourceLocation first, QQmlJS::AST::SourceLocation last = QQmlJS::AST::SourceLocation()); QString sourceText(QQmlJS::AST::SourceLocation &location); - void throwRecursionDepthError(); + void throwRecursionDepthError() override; QQmlJS::Engine *engine; QVector<ExtraType> extraTypes; diff --git a/src/qdoc/qmlvisitor.h b/src/qdoc/qmlvisitor.h index 6e73171dc..5b985565c 100644 --- a/src/qdoc/qmlvisitor.h +++ b/src/qdoc/qmlvisitor.h @@ -92,7 +92,7 @@ public: bool visit(QQmlJS::AST::UiQualifiedId *) override; void endVisit(QQmlJS::AST::UiQualifiedId *) override; - void throwRecursionDepthError(); + void throwRecursionDepthError() override; bool hasError() const; private: |