From 2e274d0d8bbb97f8f7fae68a0045b57e5b78d83f Mon Sep 17 00:00:00 2001 From: MassimilianoPinto Date: Thu, 20 Jul 2017 15:45:14 +0200 Subject: [PATCH] Added virtual destructor in Rule base class Added virtual destructor in Rule base class --- server/modules/filter/masking/maskingrules.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/maskingrules.hh b/server/modules/filter/masking/maskingrules.hh index 5fb195ae8..7b1d5cc4d 100644 --- a/server/modules/filter/masking/maskingrules.hh +++ b/server/modules/filter/masking/maskingrules.hh @@ -82,7 +82,7 @@ public: const std::string& database, const std::vector& applies_to, const std::vector& exempted); - ~Rule(); + virtual ~Rule(); std::string match() const;