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 /storage
parent65e502c38bac4fdf1c4738861aeaa8d09391a6e9 (diff)
[downloader] Handle exceptions correctly in downloader for FileWriter manipulations.
Diffstat (limited to 'storage')
-rw-r--r--storage/storage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp
index f79a055ff3..eff36a1870 100644
--- a/storage/storage.cpp
+++ b/storage/storage.cpp
@@ -484,6 +484,7 @@ namespace storage
file.m_remoteSize,
bind(&Storage::OnMapDownloadFinished, this, _1),
bind(&Storage::OnMapDownloadProgress, this, _1)));
+ ASSERT ( m_request, () );
}
string Storage::GetFileDownloadUrl(string const & baseUrl, string const & fName) const