Check whether to include a modifier in the result of the API
| 31 | |
| 32 | // Check whether to include a modifier in the result of the API |
| 33 | inline bool isValidModifier(const guidance::StepManeuver maneuver) |
| 34 | { |
| 35 | return (maneuver.waypoint_type == guidance::WaypointType::None || |
| 36 | maneuver.instruction.direction_modifier != osrm::guidance::DirectionModifier::UTurn); |
| 37 | } |
| 38 | |
| 39 | inline bool hasValidLanes(const guidance::IntermediateIntersection &intersection) |
| 40 | { |
no outgoing calls
no test coverage detected