Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--routing/turns_generator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/routing/turns_generator.cpp b/routing/turns_generator.cpp
index cad4342129..da90a6f11d 100644
--- a/routing/turns_generator.cpp
+++ b/routing/turns_generator.cpp
@@ -343,9 +343,7 @@ m2::PointD GetPointForTurn(IRoutingResult const & result, size_t outgoingSegment
ASSERT_LESS(index.m_segmentIndex, segments.size(), ());
RoutePointIndex nextIndex;
- vector<Junction> const & path = segments[index.m_segmentIndex].m_path;
- ASSERT(!path.empty(), ());
-
+ ASSERT(!segments[index.m_segmentIndex].m_path.empty(), ());
m2::PointD point = GetPointByIndex(segments, index);
m2::PointD nextPoint;
size_t count = 0;