Review fixes.

This commit is contained in:
Vladimir Byko-Ianko 2017-05-03 16:19:01 +03:00
parent 9b14083462
commit 61ba332a02
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ void IndexGraphStarter::GetFakeToNormalEdges(FakeVertex const & fakeVertex, bool
void IndexGraphStarter::GetFakeToNormalEdge(FakeVertex const & fakeVertex, bool forward,
vector<SegmentEdge> & 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);

View file

@ -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,