diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/WaysVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/WaysVisitor.h
index 7b0fac6..415e54e 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/WaysVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/WaysVisitor.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 WAYSVISITOR_H
#define WAYSVISITOR_H
@@ -37,6 +37,8 @@ class WaysVisitor : public ConstElementVisitor
{
public:
+ static std::string className() { return "hoot::WaysVisitor"; }
+
WaysVisitor(std::vector<ConstWayPtr>& w) : _w(w) {}
virtual void visit(const std::shared_ptr<const Element>& e) override;
@@ -48,6 +50,8 @@ public:
virtual QString getDescription() const { return "Collects the ways visited"; }
+ virtual std::string getClassName() const { return className(); }
+
private:
std::vector<ConstWayPtr>& _w;