aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/glsleditor
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-07-11 07:31:38 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-07-11 16:31:35 +0000
commit3d3f14e3feff558a764704334f33ef33b4e0ee72 (patch)
treeb72ffe63d0121f1b8588a8a8607a2a7dc1484727 /src/plugins/glsleditor
parent3c8dec2398ff92d8ad7dcb48f7c40925ecd5daba (diff)
Prefer using 'override' instead of 'virtual'
warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] Change-Id: I6dac7a62b627fa1353b4455e1af92f869c2571cc Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Diffstat (limited to 'src/plugins/glsleditor')
-rw-r--r--src/plugins/glsleditor/glsleditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/glsleditor/glsleditor.cpp b/src/plugins/glsleditor/glsleditor.cpp
index 108ef83879..8280c9713e 100644
--- a/src/plugins/glsleditor/glsleditor.cpp
+++ b/src/plugins/glsleditor/glsleditor.cpp
@@ -92,7 +92,7 @@ public:
protected:
using GLSL::Visitor::visit;
- virtual void endVisit(CompoundStatementAST *ast)
+ void endVisit(CompoundStatementAST *ast) override
{
if (ast->symbol) {
QTextCursor tc(textDocument);