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:
authorMaxim Pimenov <m@maps.me>2019-03-15 18:57:45 +0300
committermpimenov <mpimenov@users.noreply.github.com>2019-03-18 18:42:54 +0300
commit2bf94c95dd55f70951a82b5c306b8a29a72a4180 (patch)
tree1f8d735584de0277e134bc8da3ea3ddfd536d6ce /storage
parent108f38c7c9d4ff7286142af611549bbe00c9e39b (diff)
Review fixes.
Diffstat (limited to 'storage')
-rw-r--r--storage/storage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp
index def9edde07..ea4b7d4089 100644
--- a/storage/storage.cpp
+++ b/storage/storage.cpp
@@ -1609,9 +1609,8 @@ void Storage::ApplyDiff(CountryId const & countryId, function<void(bool isSucces
GetPlatform().RunTask(Platform::Thread::Gui, [this, fn, diffFile, countryId, result] {
auto realResult = result;
if (m_diffsBeingApplied.count(countryId) == 0 && realResult == DiffApplicationResult::Ok)
- {
realResult = DiffApplicationResult::Cancelled;
- }
+
m_latestDiffRequest = {};
m_diffsBeingApplied.erase(countryId);
switch (realResult)