Skip to content

v0.2.53..v0.2.54 changeset CriterionCountVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/CriterionCountVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/CriterionCountVisitor.h
index c7f040b..c32ac0f 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/CriterionCountVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/CriterionCountVisitor.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef CRITERIONCOUNTVISITOR_H
 #define CRITERIONCOUNTVISITOR_H
@@ -60,6 +60,8 @@ public:
   virtual QString getDescription() const
   { return "Counts the number of elements matching a criterion"; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   uint64_t _count;
Clone this wiki locally