Skip to content

v0.2.52..v0.2.53 changeset FindIntersectionsOp.cpp

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/FindIntersectionsOp.cpp b/hoot-core/src/main/cpp/hoot/core/ops/FindIntersectionsOp.cpp
index 9a389d9..3bb6bfd 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/FindIntersectionsOp.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/ops/FindIntersectionsOp.cpp
@@ -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/)
  */
 #include "FindIntersectionsOp.h"
 
@@ -97,7 +97,7 @@ void FindIntersectionsOp::apply(std::shared_ptr<OsmMap>& map)
     new NotCriterion(
       new ChainCriterion(
         std::shared_ptr<ElementInIdListCriterion>(
-          new ElementInIdListCriterion(v->getIntersections())),
+          new ElementInIdListCriterion(ElementType::Node, v->getIntersections())),
         std::shared_ptr<NodeCriterion>(new NodeCriterion()))));
   std::shared_ptr<RemoveElementsVisitor> removeIntersectionsVis(new RemoveElementsVisitor());
   removeIntersectionsVis->addCriterion(intersectionCrit);
Clone this wiki locally