From 7dea7476f11aefdae49c1cb5c2aba03d39417756 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Thu, 5 Jan 2017 11:28:21 +0100 Subject: [PATCH] Removed unused structure and fixed "multi-line comment" warning --- src/engine/guidance/post_processing.cpp | 2 +- src/extractor/guidance/turn_classification.cpp | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/engine/guidance/post_processing.cpp b/src/engine/guidance/post_processing.cpp index 2057d5b1d..a5533be2a 100644 --- a/src/engine/guidance/post_processing.cpp +++ b/src/engine/guidance/post_processing.cpp @@ -340,7 +340,7 @@ double findTotalTurnAngle(const RouteStep &entry_step, const RouteStep &exit_ste // both angles are in the same direction, the total turn gets increased // // a ---- b - // \ + // \  // c // | // d diff --git a/src/extractor/guidance/turn_classification.cpp b/src/extractor/guidance/turn_classification.cpp index 60fabbc36..746672344 100644 --- a/src/extractor/guidance/turn_classification.cpp +++ b/src/extractor/guidance/turn_classification.cpp @@ -11,19 +11,6 @@ namespace extractor namespace guidance { -struct TurnPossibility -{ - TurnPossibility(bool entry_allowed, double bearing) - : entry_allowed(entry_allowed), bearing(std::move(bearing)) - { - } - - TurnPossibility() : entry_allowed(false), bearing(0) {} - - bool entry_allowed; - double bearing; -}; - std::pair classifyIntersection(Intersection intersection) {