Skip to content

v0.2.53..v0.2.54 changeset SplitNameVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.h
index 322150a..0476d87 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.h
@@ -22,14 +22,13 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef SPLITNAMEVISITOR_H
 #define SPLITNAMEVISITOR_H
 
 // Hoot
 #include <hoot/core/elements/ElementVisitor.h>
-#include <hoot/core/info/OperationStatusInfo.h>
 #include <hoot/core/util/Configurable.h>
 
 namespace hoot
@@ -39,7 +38,7 @@ namespace hoot
  * Sometimes name fields have more characters than we'd like. This method takes all names beyond
  * the a specified character limit and puts them into fields named 'name:0', 'name:1', etc.
  */
-class SplitNameVisitor : public ElementVisitor, public OperationStatusInfo, public Configurable
+class SplitNameVisitor : public ElementVisitor, public Configurable
 {
 public:
 
@@ -62,6 +61,8 @@ public:
 
   virtual void setConfiguration(const Settings& conf);
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   int _maxSize;
Clone this wiki locally