Skip to content

v0.2.50..v0.2.51 changeset DecomposeBuildingRelationsVisitor.cpp

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/DecomposeBuildingRelationsVisitor.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/DecomposeBuildingRelationsVisitor.cpp
index 5c30ea1..c96a2f3 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/DecomposeBuildingRelationsVisitor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/DecomposeBuildingRelationsVisitor.cpp
@@ -102,7 +102,7 @@ void DecomposeBuildingRelationsVisitor::_decomposeBuilding(const std::shared_ptr
     std::shared_ptr<Element> e = _map->getElement(members[i].getElementId());
 
     Tags t = baseTags;
-    t.addTags(e->getTags());
+    t.add(e->getTags());
     // don't need the building:part tag anymore.
     t.remove(MetadataTags::BuildingPart());
 
Clone this wiki locally