Skip to content

v0.2.53..v0.2.54 changeset TagCountVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/TagCountVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/TagCountVisitor.h
index 9a7b1dd..4281ba9 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/TagCountVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/TagCountVisitor.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 TAGCOUNTVISITOR_H
 #define TAGCOUNTVISITOR_H
@@ -39,8 +39,7 @@ namespace hoot
  * A visitor for counting element tags.  It distinguishes between metadata and information tags,
  * and both are included in the total count.  Debug tags are not included in the total count.
  */
-class TagCountVisitor : public ConstElementVisitor, public NumericStatistic,
-  public OperationStatusInfo
+class TagCountVisitor : public ConstElementVisitor, public NumericStatistic
 {
 public:
 
@@ -80,6 +79,8 @@ public:
     return average;
   }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   long _totalCount;
Clone this wiki locally