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:
Diffstat (limited to 'routing/single_mwm_router.cpp')
-rw-r--r--routing/single_mwm_router.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/single_mwm_router.cpp b/routing/single_mwm_router.cpp
index 15ee3b486a..2c2259f489 100644
--- a/routing/single_mwm_router.cpp
+++ b/routing/single_mwm_router.cpp
@@ -216,7 +216,7 @@ bool SingleMwmRouter::BuildRoute(MwmSet::MwmId const & mwmId, vector<Joint::Id>
// TODO: Use real altitudes for pedestrian and bicycle routing.
for (RoutePoint const & routePoint : routePoints)
{
- junctions.emplace_back(starter.GetGraph().GetPoint(routePoint.GetRoadPoint()),
+ junctions.emplace_back(starter.GetPoint(routePoint.GetRoadPoint()),
feature::kDefaultAltitudeMeters);
}