summaryrefslogtreecommitdiff
path: root/src/qdoc/qmlcodeparser.h
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-08-04 08:05:01 +0200
committerPaul Wicking <paul.wicking@qt.io>2019-08-12 18:22:18 +0200
commita71f3d291a2c2bc822564ec7738a73050ff79374 (patch)
tree977ef6d02b32e79bdc05c27cad1bcff5f9c26cb0 /src/qdoc/qmlcodeparser.h
parentaa9d0e7fbfdb082f393eef1b644d105ad6d8eb47 (diff)
downloadqttools-a71f3d291a2c2bc822564ec7738a73050ff79374.tar.gz
QDoc: Remove empty destructors and add missing override keyword
This change removes reduntant destructors. It also adds the 'override' keyword to overridden destructors to remove warnings from clang-tidy in Creator. The patch also replaces two instances of 0 as nullptr constant. Change-Id: I576c248b7d4637249d167d7bfb8885af4f7811ff Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/qdoc/qmlcodeparser.h')
-rw-r--r--src/qdoc/qmlcodeparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/qmlcodeparser.h b/src/qdoc/qmlcodeparser.h
index 8ccc06160..85923137b 100644
--- a/src/qdoc/qmlcodeparser.h
+++ b/src/qdoc/qmlcodeparser.h
@@ -55,7 +55,7 @@ class QmlCodeParser : public CodeParser
public:
QmlCodeParser();
- virtual ~QmlCodeParser();
+ ~QmlCodeParser() override;
void initializeParser(const Config &config) override;
void terminateParser() override;