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>2016-09-29 17:18:35 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2016-09-29 17:18:35 +0300
commite37353a88b87fa814107b0ae8953b78cdbb25d81 (patch)
treee0fe859323b6acc05803ef4329e61c598f666de7 /platform
parentfef30938beb8ad68f27981b30013cdfbb1a765d1 (diff)
http_client_curl fix
Diffstat (limited to 'platform')
-rw-r--r--platform/http_client_curl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/http_client_curl.cpp b/platform/http_client_curl.cpp
index 5f2665e403..7e9a6dcb3b 100644
--- a/platform/http_client_curl.cpp
+++ b/platform/http_client_curl.cpp
@@ -116,7 +116,7 @@ typedef vector<pair<string, string>> Headers;
Headers ParseHeaders(string const & raw)
{
istringstream stream(raw);
- HeadersT headers;
+ Headers headers;
string line;
while (getline(stream, line))
{
@@ -213,7 +213,7 @@ bool HttpClient::RunHttpRequest()
return false;
}
- HeadersT const headers = ParseHeaders(ReadFileAsString(headers_deleter.m_fileName));
+ Headers const headers = ParseHeaders(ReadFileAsString(headers_deleter.m_fileName));
for (auto const & header : headers)
{
if (header.first == "Set-Cookie")