Fix formatting
This commit is contained in:
@@ -168,6 +168,6 @@ inline LegGeometry assembleGeometry(const datafacade::BaseDataFacade &facade,
|
||||
|
||||
return geometry;
|
||||
}
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif
|
||||
|
||||
@@ -228,6 +228,6 @@ inline RouteLeg assembleLeg(const datafacade::BaseDataFacade &facade,
|
||||
{}};
|
||||
}
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif // ENGINE_GUIDANCE_SEGMENT_LIST_HPP_
|
||||
|
||||
@@ -13,6 +13,6 @@ namespace osrm::engine::guidance
|
||||
std::vector<util::Coordinate> assembleOverview(const std::vector<LegGeometry> &leg_geometries,
|
||||
const bool use_simplification);
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif
|
||||
|
||||
@@ -11,6 +11,6 @@ namespace osrm::engine::guidance
|
||||
|
||||
Route assembleRoute(const std::vector<RouteLeg> &route_legs);
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif
|
||||
|
||||
@@ -361,6 +361,6 @@ inline std::vector<RouteStep> assembleSteps(const datafacade::BaseDataFacade &fa
|
||||
return steps;
|
||||
}
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif // ENGINE_GUIDANCE_SEGMENT_LIST_HPP_
|
||||
|
||||
@@ -83,6 +83,6 @@ bool doubleChoiceless(const RouteStepIterator step_entering_intersection,
|
||||
bool straightTurnFollowedByChoiceless(const RouteStepIterator step_entering_intersection,
|
||||
const RouteStepIterator step_leaving_intersection);
|
||||
|
||||
} /* namespace osrm */
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif /* OSRM_ENGINE_GUIDANCE_COLLAPSE_SCENARIO_DETECTION_HPP_ */
|
||||
|
||||
@@ -158,6 +158,6 @@ void combineRouteSteps(RouteStep &step_at_turn_location,
|
||||
// alias for suppressing a step, using CombineRouteStep with NoModificationStrategy only
|
||||
void suppressStep(RouteStep &step_at_turn_location, RouteStep &step_after_turn_location);
|
||||
|
||||
} /* namespace osrm */
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif /* OSRM_ENGINE_GUIDANCE_COLLAPSE_HPP_ */
|
||||
|
||||
@@ -298,6 +298,6 @@ inline bool hasStraightestTurn(const RouteStep &step)
|
||||
return false;
|
||||
}
|
||||
|
||||
} /* namespace osrm */
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif /* OSRM_ENGINE_GUIDANCE_COLLAPSING_UTILITY_HPP_ */
|
||||
|
||||
@@ -18,6 +18,6 @@ OSRM_ATTR_WARN_UNUSED
|
||||
std::vector<RouteStep> anticipateLaneChange(std::vector<RouteStep> steps,
|
||||
const double min_distance_needed_for_lane_change = 200);
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif /* OSRM_ENGINE_GUIDANCE_LANE_PROCESSING_HPP_ */
|
||||
|
||||
@@ -60,6 +60,6 @@ struct LegGeometry
|
||||
return segment_offsets.size() - 1;
|
||||
}
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif
|
||||
|
||||
@@ -54,6 +54,6 @@ void applyOverrides(const datafacade::BaseDataFacade &facade,
|
||||
std::vector<RouteStep> &steps,
|
||||
const LegGeometry &geometry);
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif // ENGINE_GUIDANCE_POST_PROCESSING_HPP
|
||||
|
||||
@@ -42,6 +42,6 @@ template <typename Iter, typename Fn> inline Fn forEachRoundabout(Iter first, It
|
||||
return fn;
|
||||
}
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif /* OSRM_ENGINE_GUIDANCE_POSTPROCESSING_TOOLKIT_HPP_ */
|
||||
|
||||
@@ -10,6 +10,6 @@ struct Route
|
||||
double duration;
|
||||
double weight;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,6 +19,6 @@ struct RouteLeg
|
||||
std::string summary;
|
||||
std::vector<RouteStep> steps;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif
|
||||
|
||||
@@ -230,6 +230,6 @@ inline auto RouteStep::LanesToTheRight() const
|
||||
return boost::make_iterator_range(description.end() - num_lanes_right, description.end());
|
||||
}
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif
|
||||
|
||||
@@ -40,5 +40,5 @@ inline StepManeuver getInvalidStepManeuver()
|
||||
0};
|
||||
}
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
#endif
|
||||
|
||||
@@ -16,6 +16,6 @@ namespace osrm::engine::guidance
|
||||
OSRM_ATTR_WARN_UNUSED
|
||||
std::vector<RouteStep> suppressShortNameSegments(std::vector<RouteStep> steps);
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::engine::guidance
|
||||
|
||||
#endif /* OSRM_ENGINE_GUIDANCE_VERBOSITY_REDUCTION_HPP_ */
|
||||
|
||||
Reference in New Issue
Block a user