Index: src/rewriter.cc |
diff --git a/src/rewriter.cc b/src/rewriter.cc |
index 47843305390bd6506b2b9fa8079e569a5cb0828b..1f19739331e09feefcf5b75f352f8fa5729a31e4 100644 |
--- a/src/rewriter.cc |
+++ b/src/rewriter.cc |
@@ -36,7 +36,7 @@ class Processor: public AstVisitor { |
InitializeAstVisitor(parser->stack_limit()); |
} |
- virtual ~Processor() { } |
+ ~Processor() override {} |
void Process(ZoneList<Statement*>* statements); |
bool result_assigned() const { return result_assigned_; } |
@@ -80,7 +80,7 @@ class Processor: public AstVisitor { |
AstNodeFactory factory_; |
// Node visitors. |
-#define DEF_VISIT(type) virtual void Visit##type(type* node) override; |
+#define DEF_VISIT(type) void Visit##type(type* node) override; |
AST_NODE_LIST(DEF_VISIT) |
#undef DEF_VISIT |