Skip to content

v0.2.53..v0.2.54 changeset ElementIdToTagValueMapper.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/ElementIdToTagValueMapper.h b/hoot-core/src/main/cpp/hoot/core/visitors/ElementIdToTagValueMapper.h
index e85b32c..cf3e52c 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ElementIdToTagValueMapper.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ElementIdToTagValueMapper.h
@@ -22,13 +22,12 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef ELEMENT_ID_TO_TAG_VALUE_MAPPER_H
 #define ELEMENT_ID_TO_TAG_VALUE_MAPPER_H
 
 // hoot
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/elements/ConstElementVisitor.h>
 #include <hoot/core/util/StringUtils.h>
 #include <hoot/core/criterion/ElementCriterionConsumer.h>
@@ -39,8 +38,7 @@ namespace hoot
 /**
  * Creates a mapping between an element ID and the value of the specified tag, if it has the tag
  */
-class ElementIdToTagValueMapper : public ConstElementVisitor, public OperationStatusInfo,
-  public ElementCriterionConsumer
+class ElementIdToTagValueMapper : public ConstElementVisitor, public ElementCriterionConsumer
 {
 
 public:
@@ -65,6 +63,8 @@ public:
 
   void setTagKey(const QString& key) { _tagKey = key; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   QString _tagKey;
Clone this wiki locally