Skip to content

v0.2.53..v0.2.54 changeset RemoveElementsVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.h
index 968e54d..6d07730 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef REMOVEELEMENTSVISITOR_H
 #define REMOVEELEMENTSVISITOR_H
@@ -31,7 +31,6 @@
 #include <hoot/core/elements/OsmMapConsumer.h>
 #include <hoot/core/visitors/MultipleCriterionConsumerVisitor.h>
 #include <hoot/core/util/Configurable.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/util/StringUtils.h>
 
 namespace hoot
@@ -41,7 +40,7 @@ namespace hoot
  * Removes any elements where that satisfy a criterion
  */
 class RemoveElementsVisitor : public MultipleCriterionConsumerVisitor, public OsmMapConsumer,
-  public Configurable, public OperationStatusInfo
+  public Configurable
 {
 public:
 
@@ -70,7 +69,10 @@ public:
   {
     return
       "Removed " + StringUtils::formatLargeNumber(_count) + " / " +
-      StringUtils::formatLargeNumber(_startElementCount) + " elements."; }
+      StringUtils::formatLargeNumber(_startElementCount) + " elements.";
+  }
+
+  virtual std::string getClassName() const { return className(); }
 
 private:
 
Clone this wiki locally