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:
authorvng <viktor.govako@gmail.com>2012-06-30 04:09:24 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:40:25 +0300
commit117222c2068aa783263722a65b76f8c95d432143 (patch)
tree5ee1973ceb8bd83006b3b2dab9836c601f60344a /platform/chunks_download_strategy.cpp
parent65e502c38bac4fdf1c4738861aeaa8d09391a6e9 (diff)
[downloader] Handle exceptions correctly in downloader for FileWriter manipulations.
Diffstat (limited to 'platform/chunks_download_strategy.cpp')
-rw-r--r--platform/chunks_download_strategy.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/chunks_download_strategy.cpp b/platform/chunks_download_strategy.cpp
index 6e24acb73b..b6cd42f79d 100644
--- a/platform/chunks_download_strategy.cpp
+++ b/platform/chunks_download_strategy.cpp
@@ -23,7 +23,6 @@ ChunksDownloadStrategy::GetChunk(RangeT const & range)
{
vector<ChunkT>::iterator i = lower_bound(m_chunks.begin(), m_chunks.end(), range.first, LessChunks());
- // find server which was downloading this chunk
if (i != m_chunks.end() && i->m_pos == range.first)
{
ASSERT_EQUAL ( (i+1)->m_pos, range.second + 1, () );