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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2018-06-27 16:47:02 +0300
committermpimenov <mpimenov@users.noreply.github.com>2018-06-27 16:50:40 +0300
commitdd7186b48be4636c1e67d223817a47f3f3a026e9 (patch)
treec2b891741e8b8ab47c5ee35be9728b27a5bbc9cb
parent0458557756c66f4a0ba80d09ddcb8d36487f3a30 (diff)
Compile warning fix.
-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;