aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/rulegraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/buildgraph/rulegraph.h')
-rw-r--r--src/lib/corelib/buildgraph/rulegraph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/corelib/buildgraph/rulegraph.h b/src/lib/corelib/buildgraph/rulegraph.h
index fe2fc4c3b..4ce5ecea8 100644
--- a/src/lib/corelib/buildgraph/rulegraph.h
+++ b/src/lib/corelib/buildgraph/rulegraph.h
@@ -56,6 +56,7 @@ namespace Internal {
class RuleGraphVisitor
{
public:
+ virtual ~RuleGraphVisitor() = default;
virtual void visit(const RuleConstPtr &parentRule, const RuleConstPtr &rule) = 0;
virtual void endVisit(const RuleConstPtr &rule) { Q_UNUSED(rule); }
};