v0.2.55..v0.2.56 changeset MaxIdVisitor.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/MaxIdVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/MaxIdVisitor.h
index e6ccd0b..1912cb2 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/MaxIdVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/MaxIdVisitor.h
@@ -44,7 +44,8 @@ public:
static std::string className() { return "hoot::MaxIdVisitor"; }
- MaxIdVisitor() : _maxId(-std::numeric_limits<long>::max()) {}
+ MaxIdVisitor() : _maxId(-std::numeric_limits<long>::max()) { }
+ virtual ~MaxIdVisitor() = default;
long getMinId() const { return _maxId; }