Skip to content

v0.2.55..v0.2.56 changeset CalculateAreaVisitor.h

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