Skip to content

v0.2.55..v0.2.56 changeset ElementCountVisitor.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/ElementCountVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/ElementCountVisitor.h
index ca7ac72..70179a8 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ElementCountVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ElementCountVisitor.h
@@ -43,7 +43,8 @@ public:
 
   static std::string className() { return "hoot::ElementCountVisitor"; }
 
-  ElementCountVisitor() : _count(0) {}
+  ElementCountVisitor() : _count(0) { }
+  virtual ~ElementCountVisitor() = default;
 
   int getCount() const { return _count; }
 
Clone this wiki locally