Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2015-12-24 19:06:31 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:03:18 +0300
commitb4474785425db53dc184cdc5a171baadc5af34dc (patch)
treebd4908bd7ce825dd0402037d16666c1d39f098b9 /indexer/feature_algo.cpp
parent9911aa68bde74ac519389f0cb128adff43cf4957 (diff)
Review fixes.
Diffstat (limited to 'indexer/feature_algo.cpp')
-rw-r--r--indexer/feature_algo.cpp4
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);