Skip to content

v0.2.55..v0.2.56 changeset CalculateAreaForStatsVisitor.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/CalculateAreaForStatsVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/CalculateAreaForStatsVisitor.h
index 4ac41a6..7b1270e 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/CalculateAreaForStatsVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/CalculateAreaForStatsVisitor.h
@@ -44,7 +44,8 @@ public:
 
   static std::string className() { return "hoot::CalculateAreaForStatsVisitor"; }
 
-  CalculateAreaForStatsVisitor() : _total(0) {}
+  CalculateAreaForStatsVisitor() : _total(0) { }
+  virtual ~CalculateAreaForStatsVisitor() = default;
 
   /**
    * Returns the area in meters squared.
Clone this wiki locally