diff options
author | vng <viktor.govako@gmail.com> | 2015-12-24 19:06:31 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:03:18 +0300 |
commit | b4474785425db53dc184cdc5a171baadc5af34dc (patch) | |
tree | bd4908bd7ce825dd0402037d16666c1d39f098b9 /indexer/feature_algo.cpp | |
parent | 9911aa68bde74ac519389f0cb128adff43cf4957 (diff) |
Review fixes.
Diffstat (limited to 'indexer/feature_algo.cpp')
-rw-r--r-- | indexer/feature_algo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/feature_algo.cpp b/indexer/feature_algo.cpp index 0133ac090a..f76c4c892d 100644 --- a/indexer/feature_algo.cpp +++ b/indexer/feature_algo.cpp @@ -164,7 +164,7 @@ double GetMinDistanceMeters(FeatureType const & ft, m2::PointD const & pt, int s default: ASSERT_EQUAL(type, GEOM_AREA, ()); - ft.ForEachTriangle([&] (m2::PointD const & p1, m2::PointD const & p2, m2::PointD const & p3) + ft.ForEachTriangle([&](m2::PointD const & p1, m2::PointD const & p2, m2::PointD const & p3) { if (res == 0.0) return; @@ -175,7 +175,7 @@ double GetMinDistanceMeters(FeatureType const & ft, m2::PointD const & pt, int s return; } - auto fn = [&] (m2::PointD const & x1, m2::PointD const & x2) + auto fn = [&](m2::PointD const & x1, m2::PointD const & x2) { m2::ProjectionToSection<m2::PointD> calc; calc.SetBounds(x1, x2); |