Skip to content

v0.2.50..v0.2.51 changeset TestUtils.cpp

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core-test/src/test/cpp/hoot/core/TestUtils.cpp b/hoot-core-test/src/test/cpp/hoot/core/TestUtils.cpp
index b7800ea..37937d3 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/TestUtils.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/TestUtils.cpp
@@ -93,7 +93,7 @@ NodePtr TestUtils::createNode(OsmMapPtr map, Status status, double x, double y,
 {
   NodePtr result(new Node(status, map->createNextNodeId(), x, y, circularError));
   map->addNode(result);
-  result->getTags().addTags(tags);
+  result->getTags().add(tags);
   return result;
 }
 
Clone this wiki locally