From 1f74966f5af5a5541c542cb531a3e707e73c09f7 Mon Sep 17 00:00:00 2001 From: gmoryes Date: Tue, 21 Jan 2020 15:35:17 +0300 Subject: [PATCH] [routing] review fix --- routing/base/followed_polyline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/base/followed_polyline.cpp b/routing/base/followed_polyline.cpp index 810c94589e..7308c557c3 100644 --- a/routing/base/followed_polyline.cpp +++ b/routing/base/followed_polyline.cpp @@ -137,7 +137,7 @@ Iter FollowedPolyline::GetBestMatchingProjection(m2::RectD const & posRect) cons { CHECK_EQUAL(m_segProj.size() + 1, m_poly.GetSize(), ()); // At first trying to find a projection to two closest route segments of route which is close - // enough to |posRect| center. If |m_current| is right before intermediate point we can get |closestIter| + // enough to |posRect| center. If |m_current| is right before intermediate point we can get |iter| // right after intermediate point (in next subroute). size_t const hoppingBorderIdx = min(m_segProj.size(), m_current.m_ind + 3); auto const iter = GetClosestMatchingProjectionInInterval(posRect, m_current.m_ind, hoppingBorderIdx);