Skip to content

v0.2.53..v0.2.54 changeset AddAttributesVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/AddAttributesVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/AddAttributesVisitor.h
index 60a688b..ffeda84 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/AddAttributesVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/AddAttributesVisitor.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef ADDATTRIBUTESVISITOR_H
 #define ADDATTRIBUTESVISITOR_H
@@ -30,7 +30,6 @@
 // hoot
 #include <hoot/core/util/Configurable.h>
 #include <hoot/core/elements/ElementAttributeType.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/visitors/MultipleCriterionConsumerVisitor.h>
 
 namespace hoot
@@ -40,8 +39,7 @@ namespace hoot
  * Adds one or more attributes to elements.  Only common OSM attributes may be added
  * (see ElementAttributeType).
  */
-class AddAttributesVisitor : public MultipleCriterionConsumerVisitor, public Configurable,
-  public OperationStatusInfo
+class AddAttributesVisitor : public MultipleCriterionConsumerVisitor, public Configurable
 {
 
 public:
@@ -66,6 +64,8 @@ public:
   virtual QString getCompletedStatusMessage() const
   { return "Added " + QString::number(_numAffected) + " attributes"; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   //a semicolon delimited list of attributes of the form key=value
Clone this wiki locally