Skip to content

v0.2.54..v0.2.55 changeset OsmMapIndex.cpp

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/index/OsmMapIndex.cpp b/hoot-core/src/main/cpp/hoot/core/index/OsmMapIndex.cpp
index 29b47c6..e21115f 100644
--- a/hoot-core/src/main/cpp/hoot/core/index/OsmMapIndex.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/index/OsmMapIndex.cpp
@@ -482,7 +482,7 @@ set<ElementId> OsmMapIndex::getParents(ElementId eid) const
       LOG_INFO("Child element: " << eid);
       LOG_INFO("Missing relation: " << *it);
       LOG_INFO("Child element: " << _map.getElement(eid)->toString());
-      // TODO: throw exception here or continue to next iteration?
+      continue;
     }
     // the map should contain all the relations returned by the index.
     assert(_map.containsRelation(*it));
Clone this wiki locally