diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-08-17 13:56:49 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:01:49 +0300 |
commit | f53bd7ecc3ce77583c6f08eb44a5cf8732cebebc (patch) | |
tree | 4280b87de1868bcace39facaed67054932cef0ee /routing | |
parent | ad69ed8eca1eae07aef1479e1cde0faa2832c36b (diff) |
PR fixes
Diffstat (limited to 'routing')
-rw-r--r-- | routing/base/followed_polyline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routing/base/followed_polyline.cpp b/routing/base/followed_polyline.cpp index 5ffda53d0c..3064b9a3af 100644 --- a/routing/base/followed_polyline.cpp +++ b/routing/base/followed_polyline.cpp @@ -102,12 +102,12 @@ Iter FollowedPolyline::GetClosestProjection(m2::RectD const & posRect, } Iter FollowedPolyline::UpdateProjectionByPrediction(m2::RectD const & posRect, - double predictDistance) const + double predictDistance) const { ASSERT(m_current.IsValid(), ()); ASSERT_LESS(m_current.m_ind, m_poly.GetSize() - 1, ()); - if(predictDistance <= 0.0) + if (predictDistance <= 0.0) return UpdateProjection(posRect); Iter res; |