Skip to content

v0.2.54..v0.2.55 changeset ConstElementVisitor.h

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ConstElementVisitor.h b/hoot-core/src/main/cpp/hoot/core/elements/ConstElementVisitor.h
index 2391730..52b4a72 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ConstElementVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ConstElementVisitor.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 CONSTELEMENTVISITOR_H
@@ -51,7 +51,7 @@ public:
 
   virtual void visit(const ConstElementPtr& e) = 0;
 
-  virtual void visit(const ElementPtr& e) override
+  void visit(const ElementPtr& e) override
   {
     visit(std::dynamic_pointer_cast<const Element>(e));
   }
Clone this wiki locally