Skip to content

v0.2.53..v0.2.54 changeset WayGeneralizeVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/WayGeneralizeVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/WayGeneralizeVisitor.h
index 00f5c8c..d7505d7 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/WayGeneralizeVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/WayGeneralizeVisitor.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef WAY_GENERALIZE_VISITOR_H
 #define WAY_GENERALIZE_VISITOR_H
@@ -32,7 +32,6 @@
 #include <hoot/core/visitors/ElementOsmMapVisitor.h>
 #include <hoot/core/util/Configurable.h>
 #include <hoot/core/visitors/MultipleCriterionConsumerVisitor.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/util/StringUtils.h>
 
 namespace hoot
@@ -47,7 +46,7 @@ class RdpWayGeneralizer;
  * @see RdpWayGeneralizer
  */
 class WayGeneralizeVisitor : public ElementOsmMapVisitor, public Configurable,
-  public ElementCriterionConsumer, public OperationStatusInfo
+  public ElementCriterionConsumer
 {
 public:
 
@@ -85,6 +84,8 @@ public:
 
   void setRemoveNodesSharedByWays(bool remove) { _removeNodesSharedByWays = remove; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   double _epsilon;
Clone this wiki locally