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:
authorArsentiy Milchakov <milcars@mapswithme.com>2019-11-15 17:16:12 +0300
committerMaksim Andrianov <maksimandrianov1@gmail.com>2019-11-18 15:49:41 +0300
commit82284c30c83c89cda9673683fff7afa5a1263288 (patch)
treeb3ae9bcf4f7d3c670c10c6ab0ab6c347a8c9d9c3 /web_api
parent4ff0ff2a43c5efa64d74728e1a53f0f31e9de5e7 (diff)
[web_api] review fixes
Diffstat (limited to 'web_api')
-rw-r--r--web_api/request_headers.cpp8
-rw-r--r--web_api/request_headers.hpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/web_api/request_headers.cpp b/web_api/request_headers.cpp
index e43633c58a..6fd027cc60 100644
--- a/web_api/request_headers.cpp
+++ b/web_api/request_headers.cpp
@@ -37,11 +37,11 @@ platform::HttpClient::Headers GetCatalogHeaders(HeadersParams const & params)
result.emplace(kLatLonHeader, latLonStream.str());
}
- if (!params.m_cityGeoids.empty())
- result.emplace(kCitiesHeader, strings::JoinAny(params.m_cityGeoids));
+ if (!params.m_cityGeoIds.empty())
+ result.emplace(kCitiesHeader, strings::JoinAny(params.m_cityGeoIds));
- if (!params.m_countryGeoids.empty())
- result.emplace(kCountriesHeader, strings::JoinAny(params.m_countryGeoids));
+ if (!params.m_countryGeoIds.empty())
+ result.emplace(kCountriesHeader, strings::JoinAny(params.m_countryGeoIds));
return result;
}
diff --git a/web_api/request_headers.hpp b/web_api/request_headers.hpp
index f8d019018b..d4f6ccc5a2 100644
--- a/web_api/request_headers.hpp
+++ b/web_api/request_headers.hpp
@@ -16,8 +16,8 @@ class HeadersParams
{
public:
boost::optional<m2::PointD> m_currentPosition;
- std::vector<base::GeoObjectId> m_countryGeoids;
- std::vector<base::GeoObjectId> m_cityGeoids;
+ std::vector<base::GeoObjectId> m_countryGeoIds;
+ std::vector<base::GeoObjectId> m_cityGeoIds;
};
platform::HttpClient::Headers GetDefaultCatalogHeaders();