summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-03-05 15:36:50 -0800
committerGitHub <noreply@github.com>2018-03-05 15:36:50 -0800
commit3d31caa30e094d337a4919b3d1e6ba9259e461b8 (patch)
treee99bc99c2ce450f7d0c4fa8c0938b24e886af996 /src/parser/parser.h
parenta2e78ec8dd5e935b6ef166154be7ee35bffc6d32 (diff)
Enable -Wsuggest-override by default. (#1643)
Adds missing override keywords.
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index 7f64b9580..949c56605 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -794,7 +794,7 @@ public:
public:
ExprStream(Parser* parser) : d_parser(parser) {}
~ExprStream() { delete d_parser; }
- Expr nextExpr() { return d_parser->nextExpression(); }
+ Expr nextExpr() override { return d_parser->nextExpression(); }
};/* class Parser::ExprStream */
//------------------------ operator overloading
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback