Skip to content

v0.2.53..v0.2.54 changeset RandomWayGeneralizer.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/RandomWayGeneralizer.h b/hoot-core/src/main/cpp/hoot/core/visitors/RandomWayGeneralizer.h
index fbce824..755833d 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/RandomWayGeneralizer.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/RandomWayGeneralizer.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 RANDOM_WAY_GENERALIZER_H
 #define RANDOM_WAY_GENERALIZER_H
@@ -96,6 +96,8 @@ public:
 
   void setRemoveNodesSharedByWays(bool remove) { _removeNodesSharedByWays = remove; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   boost::minstd_rand* _rng;
Clone this wiki locally