Skip to content

v0.2.53..v0.2.54 changeset RemoveReviewUnknown2Visitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveReviewUnknown2Visitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveReviewUnknown2Visitor.h
index b4f2f29..99195d6 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveReviewUnknown2Visitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveReviewUnknown2Visitor.h
@@ -22,13 +22,12 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef REMOVE_REVIEW_UKNOWN2_VISITOR_H
 #define REMOVE_REVIEW_UKNOWN2_VISITOR_H
 
 //  Hoot
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/visitors/ElementOsmMapVisitor.h>
 
 namespace hoot
@@ -38,7 +37,7 @@ namespace hoot
  * Removes all review relations and the UNKNOWN2 elements of those relations leaving only
  * geometries from the ref data and no reviews.
  */
-class RemoveReviewUnknown2Visitor : public ElementOsmMapVisitor, public OperationStatusInfo
+class RemoveReviewUnknown2Visitor : public ElementOsmMapVisitor
 {
 public:
 
@@ -59,7 +58,10 @@ public:
       QString::number(_numElements) + " UNKNOWN2 elements.";
   }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
+
   /** Total number of elements removed along with review relations */
   int _numElements;
 };
Clone this wiki locally