Skip to content

v0.2.53..v0.2.54 changeset UpdateWayParentVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/UpdateWayParentVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/UpdateWayParentVisitor.h
index 2dd8847..e133d35 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/UpdateWayParentVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/UpdateWayParentVisitor.h
@@ -22,7 +22,7 @@
  * 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 UPDATE_WAY_PARENT_VISITOR_H
 #define UPDATE_WAY_PARENT_VISITOR_H
@@ -37,16 +37,21 @@ class UpdateWayParentVisitor : public ElementVisitor
 {
 public:
 
+  static std::string className() { return "hoot::UpdateWayParentVisitor"; }
+
   UpdateWayParentVisitor(long oldParentId, long newParentId);
 
   virtual void visit(const ElementPtr& e) override;
 
-  virtual QString getDescription() const override { return "Updates all way parent IDs to a new ID"; }
+  virtual QString getDescription() const override
+  { return "Updates all way parent IDs to a new ID"; }
+
+  virtual std::string getClassName() const { return className(); }
 
 private:
+
   long _oldParentId;
   long _newParentId;
-
 };
 
 }
Clone this wiki locally