Index: src/ast-literal-reindexer.h |
diff --git a/src/ast-literal-reindexer.h b/src/ast-literal-reindexer.h |
index 9d48d21767dbd9585642b2bbe920fb8b4aeb461d..14f64f6ef18a43fbe9d4e550fd1e4251a33e3492 100644 |
--- a/src/ast-literal-reindexer.h |
+++ b/src/ast-literal-reindexer.h |
@@ -20,7 +20,7 @@ class AstLiteralReindexer final : public AstVisitor { |
int NextIndex() { return next_index_++; } |
private: |
-#define DEFINE_VISIT(type) virtual void Visit##type(type* node) override; |
+#define DEFINE_VISIT(type) void Visit##type(type* node) override; |
AST_NODE_LIST(DEFINE_VISIT) |
#undef DEFINE_VISIT |