Skip to content

v0.2.53..v0.2.54 changeset ElementReplacer.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h b/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h
index 85595eb..38923f9 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h
@@ -30,7 +30,6 @@
 // Hoot
 #include <hoot/core/ops/OsmMapOperation.h>
 #include <hoot/core/elements/OsmMap.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 
 namespace hoot
 {
@@ -39,7 +38,7 @@ namespace hoot
  * Replaces all elements in a map with features from another map with corresponding element IDs.
  * Elements in the from map with no corresponding IDs in the target map are skipped.
  */
-class ElementReplacer : public OsmMapOperation, public OperationStatusInfo
+class ElementReplacer : public OsmMapOperation
 {
 public:
 
@@ -62,6 +61,8 @@ public:
   virtual QString getCompletedStatusMessage() const
   { return "Replaced " + QString::number(_numAffected) + " elements"; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   OsmMapPtr _mapToReplaceFrom;
Clone this wiki locally