v0.2.53..v0.2.54 changeset ApiTagTruncateVisitor.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/ApiTagTruncateVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/ApiTagTruncateVisitor.h
index f5c0654..7115038 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ApiTagTruncateVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ApiTagTruncateVisitor.h
@@ -22,14 +22,13 @@
* 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 APITAGTRUNCATEVISITOR_H
#define APITAGTRUNCATEVISITOR_H
// Hoot
#include <hoot/core/elements/ElementVisitor.h>
-#include <hoot/core/info/OperationStatusInfo.h>
namespace hoot
{
@@ -44,7 +43,7 @@ namespace hoot
* to include only the last date in the list. Thirdly the `uuid` field is handled the
* same way, only the last UUID in the list is preserved.
*/
-class ApiTagTruncateVisitor : public ElementVisitor, public OperationStatusInfo
+class ApiTagTruncateVisitor : public ElementVisitor
{
public:
@@ -78,6 +77,8 @@ public:
*/
static QString truncateTag(const QString& key, const QString& value);
+ virtual std::string getClassName() const { return className(); }
+
};
}