Skip to content

v0.2.54..v0.2.55 changeset HighwayCornerSplitter.cpp

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/HighwayCornerSplitter.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/HighwayCornerSplitter.cpp
index 50841610..adb0b5c 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/HighwayCornerSplitter.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/splitter/HighwayCornerSplitter.cpp
@@ -105,9 +105,9 @@ void HighwayCornerSplitter::splitCorners()
       bool split = false;
       for (size_t nodeIdx = 1; nodeIdx < nodeCount - 1 && !split; nodeIdx++)
       {
-        WayLocation prev(_map, pWay, nodeIdx-1, 0.0);
+        WayLocation prev(_map, pWay, nodeIdx - 1, 0.0);
         WayLocation current(_map, pWay, nodeIdx, 0.0);
-        WayLocation next(_map, pWay, nodeIdx+1, 0.0);
+        WayLocation next(_map, pWay, nodeIdx + 1, 0.0);
 
         // Calculate headings
         const double twopi = M_PI*2.0;
Clone this wiki locally