From 759db9ba2e180a7f4d574a8a9c26e6c848f64a44 Mon Sep 17 00:00:00 2001 From: gmoryes Date: Wed, 26 Feb 2020 12:53:14 +0300 Subject: [PATCH] [routing] review fixes --- routing/world_graph.cpp | 2 +- routing/world_graph.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;