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:
authorSergey Yershov <syershov@maps.me>2016-12-17 00:42:38 +0300
committerSergey Yershov <syershov@maps.me>2016-12-28 15:24:51 +0300
commit20c0eb77e37e8148e37ca50edb3b6c5bab160198 (patch)
treec0a68233c3a9a0799a2367a9bf4b03825c39834a /tracking/connection.cpp
parent8846a23bc3b464f523621aae19396a68839e443f (diff)
Remove using std from base
Diffstat (limited to 'tracking/connection.cpp')
-rw-r--r--tracking/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracking/connection.cpp b/tracking/connection.cpp
index 15e6750041..d9e13304c7 100644
--- a/tracking/connection.cpp
+++ b/tracking/connection.cpp
@@ -37,10 +37,10 @@ bool Connection::Reconnect()
if (!m_socket->Write(packet.data(), static_cast<uint32_t>(packet.size())))
return false;
- string check(begin(Protocol::kFail), end(Protocol::kFail));
+ std::string check(std::begin(Protocol::kFail), std::end(Protocol::kFail));
bool const isSuccess =
m_socket->Read(reinterpret_cast<uint8_t *>(&check[0]), static_cast<uint32_t>(check.size()));
- if (!isSuccess || check != string(begin(Protocol::kOk), end(Protocol::kOk)))
+ if (!isSuccess || check != std::string(std::begin(Protocol::kOk), std::end(Protocol::kOk)))
return false;
return true;