We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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; }