summaryrefslogtreecommitdiff
path: root/src/include/tome/squelch/rule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/tome/squelch/rule.hpp')
-rw-r--r--src/include/tome/squelch/rule.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/tome/squelch/rule.hpp b/src/include/tome/squelch/rule.hpp
index af86dfc8..1270266d 100644
--- a/src/include/tome/squelch/rule.hpp
+++ b/src/include/tome/squelch/rule.hpp
@@ -84,6 +84,13 @@ public:
*/
static std::shared_ptr<Rule> parse_rule(jsoncons::json const &);
+ /**
+ * Destructor.
+ */
+ virtual ~Rule()
+ {
+ };
+
protected:
virtual bool do_apply_rule(object_type *, int) const = 0;
virtual void do_write_tree(TreePrinter *p) const = 0;