Skip to content

v0.2.55..v0.2.56 changeset DistanceNodeCriterion.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h
index c52656c..fb2ead0 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/DistanceNodeCriterion.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #ifndef DISTANCENODECRITERION_H
@@ -50,8 +50,9 @@ public:
 
   static std::string className() { return "hoot::DistanceNodeCriterion"; }
 
-  DistanceNodeCriterion();
+  DistanceNodeCriterion() = default;
   DistanceNodeCriterion(geos::geom::Coordinate center, Meters distance);
+  virtual ~DistanceNodeCriterion() = default;
 
   virtual bool isSatisfied(const ConstElementPtr& e) const;
 
Clone this wiki locally