diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/MultipleCriterionConsumerVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/MultipleCriterionConsumerVisitor.h
index 9e990b8..f2efb2d 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/MultipleCriterionConsumerVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/MultipleCriterionConsumerVisitor.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 MULTIPLE_CRITERION_CONSUMER_VISITOR_H
#define MULTIPLE_CRITERION_CONSUMER_VISITOR_H
@@ -59,6 +59,8 @@ public:
QString toString() const;
+ virtual std::string getClassName() const { return className(); }
+
protected:
std::vector<ElementCriterionPtr> _criteria;