diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/MatchCandidateCountVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/MatchCandidateCountVisitor.h
index 23776f6..56fdbaa 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/MatchCandidateCountVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/MatchCandidateCountVisitor.h
@@ -50,6 +50,7 @@ public:
static std::string className() { return "hoot::MatchCandidateCountVisitor"; }
MatchCandidateCountVisitor(const std::vector<std::shared_ptr<MatchCreator>>& matchCreators);
+ virtual ~MatchCandidateCountVisitor() = default;
virtual void visit(const std::shared_ptr<const Element>& e);