summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2015-01-30 18:20:08 +0000
committerSérgio Martins <sergio.martins@kdab.com>2015-02-03 22:52:14 +0000
commitad2ea165501c23cbd85c4ddb155f2d7ea8fc85b8 (patch)
treea6f78e3f3448418d8cac1dc6b77e9d44d8333201 /src/tools/qdoc
parentb2595bd015ef17a38af4fec301317b2621cfb5bb (diff)
Fix 1700 override warnings [-Winconsistent-missing-override]
Classes should either use or not use override, otherwise it hurts code readability. Some inline keywords were removed because of an error with MSVC2010: error C2216: 'override' cannot be used with 'inline' Change-Id: I7276d5525a92281bd0d743beb11d0dc73441443b Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/tools/qdoc')
-rw-r--r--src/tools/qdoc/qmlparser/qqmljsast_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdoc/qmlparser/qqmljsast_p.h b/src/tools/qdoc/qmlparser/qqmljsast_p.h
index ae79046563..b59222b554 100644
--- a/src/tools/qdoc/qmlparser/qqmljsast_p.h
+++ b/src/tools/qdoc/qmlparser/qqmljsast_p.h
@@ -2268,8 +2268,8 @@ public:
class QML_PARSER_EXPORT UiObjectMember: public Node
{
public:
- virtual SourceLocation firstSourceLocation() const = 0;
- virtual SourceLocation lastSourceLocation() const = 0;
+ virtual SourceLocation firstSourceLocation() const Q_DECL_OVERRIDE = 0;
+ virtual SourceLocation lastSourceLocation() const Q_DECL_OVERRIDE = 0;
virtual UiObjectMember *uiObjectMemberCast() Q_DECL_OVERRIDE;
};