From dcad9ef26b6be4d378186619c858c732c403bb24 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 9 Apr 2015 13:54:41 +0300 Subject: [PATCH] Minor const fix. --- map/address_finder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/map/address_finder.cpp b/map/address_finder.cpp index ee7da708e4..2848880c19 100644 --- a/map/address_finder.cpp +++ b/map/address_finder.cpp @@ -342,7 +342,7 @@ namespace public: DoGetAddressInfo(m2::PointD const & pt, int scale, TypeChecker const & checker, - double (&arrRadius) [3]) + double const (&arrRadius) [3]) : DoGetAddressBase(pt, scale, checker) { for (size_t i = 0; i < 3; ++i) @@ -470,7 +470,7 @@ void Framework::GetAddressInfoForGlobalPoint(m2::PointD const & pt, search::Addr // use upper scale to get address by point (buildings, streets and POIs are visible). int const scale = scales::GetUpperScale(); - double addressR[] = { + double const addressR[] = { 15.0, // radius to search point POI's 100.0, // radius to search street names 5.0 // radius to search building numbers (POI's)