Skip to content

v0.2.55..v0.2.56 changeset CentroidDistanceExtractor.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/CentroidDistanceExtractor.h b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/CentroidDistanceExtractor.h
index 1196750..b50ce49 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/CentroidDistanceExtractor.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/CentroidDistanceExtractor.h
@@ -23,7 +23,7 @@
  * copyrights will be updated automatically.
  *
  * @copyright Copyright (C) 2005 VividSolutions (http://www.vividsolutions.com/)
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef CENTROIDDISTANCEEXTRACTOR_H
 #define CENTROIDDISTANCEEXTRACTOR_H
@@ -45,6 +45,9 @@ class CentroidDistanceExtractor : public AbstractDistanceExtractor
 public:
   static std::string className() { return "hoot::CentroidDistanceExtractor"; }
 
+  CentroidDistanceExtractor() = default;
+  virtual ~CentroidDistanceExtractor() = default;
+
   virtual double distance(const OsmMap& map, const std::shared_ptr<const Element>& target,
     const std::shared_ptr<const Element>& candidate) const override;
 
Clone this wiki locally