Skip to content

v0.2.53..v0.2.54 changeset MembersPerRelationVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/MembersPerRelationVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/MembersPerRelationVisitor.h
index 792d71d..dce1678 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/MembersPerRelationVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/MembersPerRelationVisitor.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #ifndef MEMBERS_PER_RELATION_VISITOR_H
@@ -31,14 +31,12 @@
 // hoot
 #include <hoot/core/elements/ConstElementVisitor.h>
 #include <hoot/core/info/NumericStatistic.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/criterion/ElementTypeCriterion.h>
 
 namespace hoot
 {
 
-class MembersPerRelationVisitor : public ConstElementVisitor, public NumericStatistic,
-  public OperationStatusInfo
+class MembersPerRelationVisitor : public ConstElementVisitor, public NumericStatistic
 {
 public:
 
@@ -66,6 +64,8 @@ public:
     return average;
   }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   RelationCriterion _crit;
Clone this wiki locally