diff options
Diffstat (limited to 'routing/world_graph.cpp')
-rw-r--r-- | routing/world_graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/world_graph.cpp b/routing/world_graph.cpp index 3f87783131..1031b5fe94 100644 --- a/routing/world_graph.cpp +++ b/routing/world_graph.cpp @@ -17,9 +17,9 @@ void WorldGraph::GetTwins(Segment const & segment, bool isOutgoing, vector<Segme // We need both enter to mwm and exit from mwm in LeapsOnly mode to reconstruct leap. // That's why we need to duplicate twin segment here and than remove duplicate // while processing leaps. + m2::PointD const & from = GetPoint(segment, isOutgoing /* front */); for (Segment const & twin : twins) { - m2::PointD const & from = GetPoint(segment, isOutgoing /* front */); m2::PointD const & to = GetPoint(twin, isOutgoing /* front */); // Weight is usually zero because twins correspond the same feature // in different mwms. But if we have mwms with different versions and a feature |