diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2017-09-20 20:57:47 +0200 |
---|---|---|
committer | Kevin Funk <kevin.funk@kdab.com> | 2017-09-22 07:33:13 +0000 |
commit | fdf1613fd9d059b5cbfddbf0dd9a76a8d2e23b26 (patch) | |
tree | c25f693010cc064c768c55313785d4209d09c769 /src/qdoc/atom.h | |
parent | c2f48cd9e8eeafda8fb52c59840bccc3e9c60de5 (diff) | |
download | qttools-fdf1613fd9d059b5cbfddbf0dd9a76a8d2e23b26.tar.gz |
Replace Q_DECL_OVERRIDE with override
Change-Id: I1b8b338a6bc2f3c87af62c20ff1428096b309628
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qdoc/atom.h')
-rw-r--r-- | src/qdoc/atom.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/qdoc/atom.h b/src/qdoc/atom.h index 52fd3ecfe..89364ab8e 100644 --- a/src/qdoc/atom.h +++ b/src/qdoc/atom.h @@ -209,13 +209,13 @@ class LinkAtom : public Atom LinkAtom(Atom* previous, const LinkAtom& t); virtual ~LinkAtom() { } - virtual bool isLinkAtom() const Q_DECL_OVERRIDE { return true; } - virtual Node::Genus genus() Q_DECL_OVERRIDE { resolveSquareBracketParams(); return genus_; } - virtual bool specifiesDomain() Q_DECL_OVERRIDE { resolveSquareBracketParams(); return (domain_ != 0); } - virtual Tree* domain() Q_DECL_OVERRIDE { resolveSquareBracketParams(); return domain_; } - virtual Node::NodeType goal() Q_DECL_OVERRIDE { resolveSquareBracketParams(); return goal_; } - virtual const QString& error() Q_DECL_OVERRIDE { return error_; } - virtual void resolveSquareBracketParams() Q_DECL_OVERRIDE; + bool isLinkAtom() const override { return true; } + Node::Genus genus() override { resolveSquareBracketParams(); return genus_; } + bool specifiesDomain() override { resolveSquareBracketParams(); return (domain_ != 0); } + Tree* domain() override { resolveSquareBracketParams(); return domain_; } + Node::NodeType goal() override { resolveSquareBracketParams(); return goal_; } + const QString& error() override { return error_; } + void resolveSquareBracketParams() override; protected: bool resolved_; |