Skip to content

v0.2.53..v0.2.54 changeset RemoveReviewsByEidOp.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/RemoveReviewsByEidOp.h b/hoot-core/src/main/cpp/hoot/core/ops/RemoveReviewsByEidOp.h
index cf49634..d1aeb7e 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/RemoveReviewsByEidOp.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/RemoveReviewsByEidOp.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef REMOVEREVIEWSBYEIDOP_H
 #define REMOVEREVIEWSBYEIDOP_H
@@ -31,7 +31,6 @@
 #include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/elements/ConstElementConsumer.h>
 #include <hoot/core/ops/ConstOsmMapOperation.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 
 // Standard
 #include <set>
@@ -39,8 +38,10 @@
 namespace hoot
 {
 
-class RemoveReviewsByEidOp : public ConstOsmMapOperation, public ConstElementConsumer,
-  public OperationStatusInfo
+/**
+ * Removes all review relations that an element is involved in and optionally the element itself
+ */
+class RemoveReviewsByEidOp : public ConstOsmMapOperation, public ConstElementConsumer
 {
 public:
 
@@ -73,6 +74,8 @@ public:
   virtual QString getCompletedStatusMessage() const
   { return "Removed " + QString::number(_numAffected) + " conflation reviews"; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   ElementId _eid;
Clone this wiki locally