Skip to content

v0.2.52..v0.2.53 changeset ElementData.h

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ElementData.h b/hoot-core/src/main/cpp/hoot/core/elements/ElementData.h
index 68b25f8..db1dda2 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ElementData.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ElementData.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef ELEMENT_DATA_H
 #define ELEMENT_DATA_H
@@ -95,6 +95,7 @@ public:
 
   void setTags(const Tags& tags) { _tags = tags; }
   void setTag(QString k, QString v) { _tags.insert(k, v); }
+  void addTags(const Tags& tags) { _tags.add(tags); }
 
   bool getVisible() const { return _visible; }
   void setVisible(bool visible) { _visible = visible; }
Clone this wiki locally