diff options
author | Maxim Pimenov <m@maps.me> | 2019-02-13 15:50:52 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2019-02-13 16:10:22 +0300 |
commit | 64fbbe18780b3e1f7753f6bba0941954d944ab71 (patch) | |
tree | 0293e9131fad40ea6fcfb66e5da7c71deb12a1f0 /storage | |
parent | 1cb62e0e64ba3bae126eaedf1a1216a69fafa1bb (diff) |
clang-format
Diffstat (limited to 'storage')
-rw-r--r-- | storage/diff_scheme/diff_manager.hpp | 3 | ||||
-rw-r--r-- | storage/storage.cpp | 2 | ||||
-rw-r--r-- | storage/storage.hpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/storage/diff_scheme/diff_manager.hpp b/storage/diff_scheme/diff_manager.hpp index 0d10c19569..d383635730 100644 --- a/storage/diff_scheme/diff_manager.hpp +++ b/storage/diff_scheme/diff_manager.hpp @@ -40,8 +40,7 @@ public: virtual void OnDiffStatusReceived(Status const status) = 0; }; - using OnDiffApplicationFinished = - std::function<void(generator::mwm_diff::DiffApplicationResult)>; + using OnDiffApplicationFinished = std::function<void(generator::mwm_diff::DiffApplicationResult)>; // If the diff is available, sets |size| to its size and returns true. // Otherwise, returns false. diff --git a/storage/storage.cpp b/storage/storage.cpp index a9a1da3173..2113387946 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -1601,7 +1601,7 @@ void Storage::ApplyDiff(CountryId const & countryId, function<void(bool isSucces break; case DiffApplicationResult::Cancelled: { - CHECK(!IsDiffApplyingInProgressToCountry(countryId), ()); + CHECK(!IsDiffApplyingInProgressToCountry(countryId), ()); } break; case DiffApplicationResult::Failed: fn(false); break; diff --git a/storage/storage.hpp b/storage/storage.hpp index 116cd5a078..9408440f96 100644 --- a/storage/storage.hpp +++ b/storage/storage.hpp @@ -699,7 +699,7 @@ private: bool IsDisputed(CountryTreeNode const & node) const; void CalcMaxMwmSizeBytes(); - + void OnMapDownloadFailed(CountryId const & countryId); void LoadDiffScheme(); |