diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-04-18 15:04:47 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-04-19 15:16:12 +0300 |
commit | 33d73bb1b7a034bb0b76f6ff3f4f6cac372ba659 (patch) | |
tree | 82d2213e49303b2a42e30a65808afbc7726009c3 /routing | |
parent | df3fecf96c54b141bb4eb66d18665d1b2bad70c9 (diff) |
Minor fixes.
Diffstat (limited to 'routing')
-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 |