Skip to content

v0.2.52..v0.2.53 changeset SearchRadiusProvider.h

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/SearchRadiusProvider.h b/hoot-core/src/main/cpp/hoot/core/conflate/SearchRadiusProvider.h
index 44cd369..89dbd3d 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/SearchRadiusProvider.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/SearchRadiusProvider.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @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 SEARCHRADIUSPROVIDER_H
 #define SEARCHRADIUSPROVIDER_H
@@ -43,6 +43,11 @@ public:
   ~SearchRadiusProvider() {}
 
   /**
+   * Optional init
+   */
+  virtual void init(const ConstOsmMapPtr& /*map*/) {}
+
+  /**
    * Returns the search radius for the given element.
    */
   virtual Meters calculateSearchRadius(const ConstOsmMapPtr& map, const ConstElementPtr& e) = 0;
Clone this wiki locally