diff options
author | greshilov <slovaricheg@gmail.com> | 2018-02-27 13:30:44 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-02-27 13:47:20 +0300 |
commit | cf2178a75d3a46232a4cbe0d867d910da0032590 (patch) | |
tree | 154b379696e89b1217fc0a56b8bef9131f15bd40 /storage | |
parent | f0c241d5ec0688d1603c8379bba5957326b7db9c (diff) |
[gcc] Fix GCC-6 build bug
Diffstat (limited to 'storage')
-rw-r--r-- | storage/storage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp index ee434e349b..73709ac666 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -1512,7 +1512,7 @@ void Storage::LoadServerListForSession() { ASSERT_THREAD_CHECKER(m_threadChecker, ()); - m_downloader->GetServersList([this](auto const & urls) { PingServerList(urls); }); + m_downloader->GetServersList([this](vector<string> const & urls) { PingServerList(urls); }); } void Storage::LoadServerListForTesting() @@ -1530,7 +1530,7 @@ void Storage::PingServerList(vector<string> const & urls) return; GetPlatform().RunTask(Platform::Thread::Network, [urls, this] { - Pinger::Ping(urls, [this, urls](auto readyUrls) { + Pinger::Ping(urls, [this, urls](vector<string> readyUrls) { ASSERT_THREAD_CHECKER(m_threadChecker, ()); if (readyUrls.empty()) |