summaryrefslogtreecommitdiff
path: root/Userland/Shell/NodeVisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Shell/NodeVisitor.h')
-rw-r--r--Userland/Shell/NodeVisitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Shell/NodeVisitor.h b/Userland/Shell/NodeVisitor.h
index 8452d6d968..581443a27c 100644
--- a/Userland/Shell/NodeVisitor.h
+++ b/Userland/Shell/NodeVisitor.h
@@ -75,6 +75,9 @@ public:
virtual void visit(const AST::VariableDeclarations*);
virtual void visit(const AST::WriteAppendRedirection*);
virtual void visit(const AST::WriteRedirection*);
+
+protected:
+ virtual ~NodeVisitor() = default;
};
}