Index: src/prettyprinter.h |
diff --git a/src/prettyprinter.h b/src/prettyprinter.h |
index d300d9a478e19c8cf7908bd08c6a817e0cd34ddf..bf015204c9bf9ee990ac3843b5dd2919b6d0d8ac 100644 |
--- a/src/prettyprinter.h |
+++ b/src/prettyprinter.h |
@@ -30,7 +30,7 @@ class PrettyPrinter: public AstVisitor { |
static void PrintOut(Zone* zone, AstNode* node); |
// Individual nodes |
-#define DECLARE_VISIT(type) virtual void Visit##type(type* node); |
+#define DECLARE_VISIT(type) void Visit##type(type* node) OVERRIDE; |
AST_NODE_LIST(DECLARE_VISIT) |
#undef DECLARE_VISIT |