Skip to content

v0.2.53..v0.2.54 changeset NonConflatableElementRemover.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/NonConflatableElementRemover.h b/hoot-core/src/main/cpp/hoot/core/ops/NonConflatableElementRemover.h
index 6b6b968..2619b5e 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/NonConflatableElementRemover.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/NonConflatableElementRemover.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #ifndef NONCONFLATABLEELEMENTREMOVER_H
@@ -30,7 +30,6 @@
 
 // Hoot
 #include <hoot/core/ops/OsmMapOperation.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 
 namespace hoot
 {
@@ -38,7 +37,7 @@ namespace hoot
 /**
  * Recursively removes all elements that are deemed non-conflatable
  */
-class NonConflatableElementRemover : public OsmMapOperation, public OperationStatusInfo
+class NonConflatableElementRemover : public OsmMapOperation
 {
 public:
 
@@ -59,6 +58,8 @@ public:
   virtual QString getCompletedStatusMessage() const
   { return "Removed " + QString::number(_numAffected) + " unconflatable elements"; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   std::shared_ptr<OsmMap> _map;
Clone this wiki locally