Skip to content

v0.2.53..v0.2.54 changeset ReplaceTagVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/ReplaceTagVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/ReplaceTagVisitor.h
index c69e89c..377ecc9 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ReplaceTagVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ReplaceTagVisitor.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 REPLACETAGVISITOR_H
 #define REPLACETAGVISITOR_H
@@ -30,7 +30,6 @@
 // hoot
 #include <hoot/core/elements/ElementVisitor.h>
 #include <hoot/core/util/Configurable.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 
 namespace hoot
 {
@@ -45,7 +44,7 @@ namespace hoot
  * Feel free to extend this class. Maybe add a flag for case-insensitive
  * matching. Or support for wildcards.
  */
-class ReplaceTagVisitor : public ElementVisitor, public Configurable, public OperationStatusInfo
+class ReplaceTagVisitor : public ElementVisitor, public Configurable
 {
 public:
 
@@ -104,6 +103,8 @@ public:
     return "Replaced " + QString::number(_numAffected) + " element tags";
   }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   QString _matchKey;
Clone this wiki locally