Skip to content

v0.2.53..v0.2.54 changeset RandomNodeDuplicator.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/RandomNodeDuplicator.h b/hoot-core/src/main/cpp/hoot/core/ops/RandomNodeDuplicator.h
index a06fc04..8d0584b 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/RandomNodeDuplicator.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/RandomNodeDuplicator.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 RANDOM_NODE_DUPLICATOR_H
 #define RANDOM_NODE_DUPLICATOR_H
@@ -31,7 +31,6 @@
 #include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/ops/OsmMapOperation.h>
 #include <hoot/core/util/Configurable.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/util/RngConsumer.h>
 
 // Qt
@@ -45,8 +44,7 @@ namespace hoot
  *
  * @todo This should really change the node after it has been duplicated.
  */
-class RandomNodeDuplicator : public OsmMapOperation, public Configurable, public RngConsumer,
-  public OperationStatusInfo
+class RandomNodeDuplicator : public OsmMapOperation, public Configurable, public RngConsumer
 {
 public:
 
@@ -91,6 +89,8 @@ public:
   virtual QString getCompletedStatusMessage() const
   { return "Randomly duplicated " + QString::number(_numAffected) + " nodes"; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   double _moveMultiplier;
Clone this wiki locally