v0.2.53..v0.2.54 changeset TagRenameKeyVisitor.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/TagRenameKeyVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/TagRenameKeyVisitor.h
index 0e62815..3e61abd 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/TagRenameKeyVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/TagRenameKeyVisitor.h
@@ -22,7 +22,7 @@
* 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 TAGRENAMEKEYVISITOR_H
#define TAGRENAMEKEYVISITOR_H
@@ -30,7 +30,6 @@
// hoot
#include <hoot/core/util/Configurable.h>
#include <hoot/core/elements/ElementVisitor.h>
-#include <hoot/core/info/OperationStatusInfo.h>
namespace hoot
{
@@ -38,8 +37,7 @@ namespace hoot
/**
* Renames all keys for all elements with the specified key to a new key
*/
-class TagRenameKeyVisitor : public ElementVisitor, public Configurable,
- public OperationStatusInfo
+class TagRenameKeyVisitor : public ElementVisitor, public Configurable
{
public:
@@ -63,6 +61,8 @@ public:
void setOldKey(const QString& key) { _oldKey = key; }
void setNewKey(const QString& key) { _newKey = key; }
+ virtual std::string getClassName() const { return className(); }
+
private:
QString _oldKey;