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 <bykoianko@gmail.com>2017-03-01 17:46:26 +0300
committerGitHub <noreply@github.com>2017-03-01 17:46:26 +0300
commitaaa7e9c66592beaeb02dce8102f408eba0ae5dd9 (patch)
tree04b7736511810b772c0cc1350784b59adcbacdfc /routing/index_graph_starter.cpp
parentae10370e128b98935b37e188f4e9279795c0bb3a (diff)
parent316268660e47c5b21b0376d7081b5d500ccba53c (diff)
Merge pull request #5468 from dobriy-eeh/cross-mwm-routingbeta-657
[routing] Enable cross mwm index router
Diffstat (limited to 'routing/index_graph_starter.cpp')
-rw-r--r--routing/index_graph_starter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/routing/index_graph_starter.cpp b/routing/index_graph_starter.cpp
index 8fa511e2dd..064d96bb5b 100644
--- a/routing/index_graph_starter.cpp
+++ b/routing/index_graph_starter.cpp
@@ -22,8 +22,7 @@ m2::PointD const & IndexGraphStarter::GetPoint(Segment const & segment, bool fro
if (segment == kFinishFakeSegment || (front && m_finish.Fits(segment)))
return m_finish.GetPoint();
- return m_graph.GetRoadGeometry(segment.GetMwmId(), segment.GetFeatureId())
- .GetPoint(segment.GetPointId(front));
+ return m_graph.GetPoint(segment, front);
}
// static