Skip to content

v0.2.53..v0.2.54 changeset UnconnectedWaySnapper.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/UnconnectedWaySnapper.h b/hoot-core/src/main/cpp/hoot/core/ops/UnconnectedWaySnapper.h
index e87c5de..6518ed0 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/UnconnectedWaySnapper.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/UnconnectedWaySnapper.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 UNCONNECTED_WAY_SNAPPER
@@ -31,7 +31,6 @@
 // Hoot
 #include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/ops/OsmMapOperation.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/criterion/ElementCriterion.h>
 #include <hoot/core/util/Configurable.h>
 
@@ -69,8 +68,7 @@ namespace hoot
  * yet if/whether that can be addressed or not. Technically, the way joiner (I think) run later on
  * could fix the problem.
  */
-class UnconnectedWaySnapper : public OsmMapOperation, public OperationStatusInfo,
-  public Configurable
+class UnconnectedWaySnapper : public OsmMapOperation, public Configurable
 {
 public:
 
@@ -133,6 +131,8 @@ public:
   static bool snapClosestEndpointToWay(OsmMapPtr map, const WayPtr& disconnected,
                                        const WayPtr& connectTo);
 
+  virtual std::string getClassName() const { return className(); }
+
 protected:
 
   // if true, will attempt to snap nodes to existing way nodes instead of adding them to the way as
Clone this wiki locally