summaryrefslogtreecommitdiff
path: root/src/ast/expr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/expr.hpp')
-rw-r--r--src/ast/expr.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/expr.hpp b/src/ast/expr.hpp
index a9c82efa..6cfda001 100644
--- a/src/ast/expr.hpp
+++ b/src/ast/expr.hpp
@@ -636,6 +636,7 @@ struct ExprNode_UniOp:
class NodeVisitor
{
public:
+ virtual ~NodeVisitor() = default;
inline void visit(const unique_ptr<ExprNode>& cnode) {
if(cnode.get())
cnode->visit(*this);