From 61ba332a02b7f4dd6b6207c02fe123a7a4fdcbac Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Wed, 3 May 2017 16:19:01 +0300 Subject: [PATCH] Review fixes. --- routing/index_graph_starter.cpp | 2 +- routing/index_router.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/index_graph_starter.cpp b/routing/index_graph_starter.cpp index e222e17ddc..ab5516b455 100644 --- a/routing/index_graph_starter.cpp +++ b/routing/index_graph_starter.cpp @@ -87,7 +87,7 @@ void IndexGraphStarter::GetFakeToNormalEdges(FakeVertex const & fakeVertex, bool void IndexGraphStarter::GetFakeToNormalEdge(FakeVertex const & fakeVertex, bool forward, vector & edges) { - Segment const segment = fakeVertex.GetSegmentWithDirection(forward); + auto const segment = fakeVertex.GetSegmentWithDirection(forward); m2::PointD const & pointTo = GetPoint(segment, true /* front */); double const weight = m_graph.GetEstimator().CalcLeapWeight(fakeVertex.GetPoint(), pointTo); edges.emplace_back(segment, weight); diff --git a/routing/index_router.hpp b/routing/index_router.hpp index 43875f9352..037c9509b7 100644 --- a/routing/index_router.hpp +++ b/routing/index_router.hpp @@ -70,7 +70,7 @@ private: m2::PointD const & finalPoint, RouterDelegate const & delegate, Route & route); - /// \brief Finds closest edges which may be considered as start of finish of the route. + /// \brief Finds closest edges which may be considered as start or finish of the route. /// \param isOutgoing == true is |point| is considered as the start of the route. /// isOutgoing == false is |point| is considered as the finish of the route. bool FindClosestEdge(platform::CountryFile const & file, m2::PointD const & point,