Skip to content

v0.2.53..v0.2.54 changeset SuperfluousWayRemover.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousWayRemover.h b/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousWayRemover.h
index b15f555..c0fd77a 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousWayRemover.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/SuperfluousWayRemover.h
@@ -22,14 +22,13 @@
  * 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 SUPERFLUOUSWAYREMOVER_H
 #define SUPERFLUOUSWAYREMOVER_H
 
 // Hoot
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/ops/OsmMapOperation.h>
 #include <hoot/core/util/Units.h>
 
@@ -47,7 +46,7 @@ class OsmMap;
  *
  * @todo what about one node ways?
  */
-class SuperfluousWayRemover : public OsmMapOperation, public OperationStatusInfo
+class SuperfluousWayRemover : public OsmMapOperation
 {
 public:
 
@@ -78,6 +77,13 @@ public:
   virtual QString getDescription() const
   { return "Removes ways not in relations or containing zero or all identical nodes"; }
 
+  /**
+   * @see FilteredByCriteria
+   */
+  virtual QStringList getCriteria() const;
+
+  virtual std::string getClassName() const { return className(); }
+
 protected:
 
   std::shared_ptr<OsmMap> _inputMap;
Clone this wiki locally