diff --git a/routing/world_graph.cpp b/routing/world_graph.cpp index ff788f209a..efdb4f0d59 100644 --- a/routing/world_graph.cpp +++ b/routing/world_graph.cpp @@ -28,7 +28,7 @@ void WorldGraph::GetTwins(Segment const & segment, bool isOutgoing, bool useRout false /* useAccessConditional */, edges); } - SetMode(prevMode); + SetMode(prevMode); } RoutingOptions WorldGraph::GetRoutingOptions(Segment const & /* segment */) diff --git a/routing/world_graph.hpp b/routing/world_graph.hpp index defcb8de01..fa04c1e34a 100644 --- a/routing/world_graph.hpp +++ b/routing/world_graph.hpp @@ -61,7 +61,7 @@ public: void GetEdgeList(Segment const & vertex, bool isOutgoing, bool useRoutingOptions, std::vector & edges); - // Checks whether path length meets restrictions. Restrictions may depend on the distance from + // Checks whether path length meets restrictions. Restrictions may depend on the distance from // start to finish of the route. virtual bool CheckLength(RouteWeight const & weight, double startToFinishDistanceM) const = 0;