Skip to content

v0.2.49..v0.2.50 changeset TagRenameKeyVisitor.h

Garret Voltz edited this page Nov 6, 2019 · 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 6e4ec20..0e62815 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/TagRenameKeyVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/TagRenameKeyVisitor.h
@@ -60,6 +60,9 @@ public:
   virtual QString getCompletedStatusMessage() const
   { return "Renamed " + QString::number(_numAffected) + " tag keys"; }
 
+  void setOldKey(const QString& key) { _oldKey = key; }
+  void setNewKey(const QString& key) { _newKey = key; }
+
 private:
 
   QString _oldKey;
Clone this wiki locally