fixes 2219

This commit is contained in:
Moritz Kobitzsch
2016-04-05 13:27:15 +02:00
committed by Patrick Niklaus
parent 849baea544
commit 470d7600b8
3 changed files with 21 additions and 2 deletions
@@ -309,7 +309,7 @@ class ShortestPathRouting final
new_total_distance_to_forward, packed_leg_to_forward);
// if only the reverse node is valid (e.g. when using the match plugin) we
// actually need to move
if (target_phantom.forward_segment_id.enabled)
if (!target_phantom.forward_segment_id.enabled)
{
BOOST_ASSERT(target_phantom.reverse_segment_id.enabled);
new_total_distance_to_reverse = new_total_distance_to_forward;
+1 -1
View File
@@ -19,7 +19,7 @@ namespace osrm
namespace extractor
{
class ProfileProperties;
struct ProfileProperties;
/**
* Parses the relations that represents turn restrictions.