Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index ca0a7465b12e61d77d2a9b069da79100d4da18fa..b5c6cf57ea417cf8a70e266ac83bf82e72d31734 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -942,8 +942,7 @@ class RegExpUnparser final : public RegExpVisitor { |
public: |
RegExpUnparser(std::ostream& os, Zone* zone) : os_(os), zone_(zone) {} |
void VisitCharacterRange(CharacterRange that); |
-#define MAKE_CASE(Name) \ |
- virtual void* Visit##Name(RegExp##Name*, void* data) override; |
+#define MAKE_CASE(Name) void* Visit##Name(RegExp##Name*, void* data) override; |
FOR_EACH_REG_EXP_TREE_TYPE(MAKE_CASE) |
#undef MAKE_CASE |
private: |