Skip to content

v0.2.53..v0.2.54 changeset LengthOfWaysVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/LengthOfWaysVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/LengthOfWaysVisitor.h
index f03e25f..2b9b8d4 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/LengthOfWaysVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/LengthOfWaysVisitor.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef LENGTHOFWAYSVISITOR_H
 #define LENGTHOFWAYSVISITOR_H
@@ -67,6 +67,8 @@ public:
     return average;
   }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   Meters _total;
Clone this wiki locally