diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-02-03 13:03:24 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:21:36 +0300 |
commit | f5d0c3b12e72604565c51829f6f976bfb62e36c9 (patch) | |
tree | f568780db53e85a413b1bdc51adb5e1789a3077b /platform/local_country_file.hpp | |
parent | 5cc7c09e7fe39c2df22e45c0154c11551f96a567 (diff) |
[new downloader] Adding LocalCountryFile::SyncWithDisk() assumption that every single mwm has a routing sections.
Diffstat (limited to 'platform/local_country_file.hpp')
-rw-r--r-- | platform/local_country_file.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/local_country_file.hpp b/platform/local_country_file.hpp index cece30156d..fa0fbec278 100644 --- a/platform/local_country_file.hpp +++ b/platform/local_country_file.hpp @@ -35,6 +35,10 @@ public: // Syncs internal state like availability of map and routing files, // their sizes etc. with disk. + // In case of one component (single) mwm this method assumed the every mwm has a routing section. + // Generality speaking it's not always true. To know it for sure it's necessary to read a mwm in + // this method but it's not implemented by performance reasons. This check is done on + // building routes stage. void SyncWithDisk(); // Removes specified files from disk if they're known for LocalCountryFile, i.e. |