Skip to content

v0.2.47..v0.2.48 changeset WayAverager.cpp

Garret Voltz edited this page Sep 27, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/WayAverager.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/WayAverager.cpp
index 581091e..8ee98f1 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/WayAverager.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/WayAverager.cpp
@@ -38,7 +38,6 @@ using namespace geos::operation::distance;
 // Hoot
 #include <hoot/core/elements/OsmMap.h>
 #include <hoot/core/algorithms/DirectionFinder.h>
-#include <hoot/core/schema/TagComparator.h>
 #include <hoot/core/schema/TagMergerFactory.h>
 #include <hoot/core/elements/ElementConverter.h>
 #include <hoot/core/ops/RemoveWayByEid.h>
@@ -87,10 +86,10 @@ WayPtr WayAverager::average()
     }
   }
 
-  std::shared_ptr<const LineString> ls1 = ElementConverter(_map.shared_from_this()).
-      convertToLineString(_w1);
-  std::shared_ptr<const LineString> ls2 = ElementConverter(_map.shared_from_this()).
-      convertToLineString(_w2);
+  std::shared_ptr<const LineString> ls1 =
+    ElementConverter(_map.shared_from_this()).convertToLineString(_w1);
+  std::shared_ptr<const LineString> ls2 =
+    ElementConverter(_map.shared_from_this()).convertToLineString(_w2);
 
   // All of the fancy stats here are compliments of Mike Porter.
 
Clone this wiki locally