Give rules::Visitor a virtual destructor
This commit is contained in:
parent
4dd1f9fbce
commit
6ea4e6b2b0
4 changed files with 13 additions and 10 deletions
|
|
@ -12,8 +12,10 @@
|
|||
|
||||
namespace tree_sitter {
|
||||
using std::vector;
|
||||
|
||||
|
||||
namespace rules {
|
||||
Visitor::~Visitor() {}
|
||||
|
||||
rule_ptr IdentityRuleFn::default_apply(const Rule *rule) {
|
||||
return rule->copy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue