diff options
author | vng <viktor.govako@gmail.com> | 2011-12-21 13:46:28 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:30:47 +0300 |
commit | 81a4beec96490611a4dca02bfddc7afc239b27b8 (patch) | |
tree | 5b669b66c038ac59f11f97f1dd2608096288014d /map/feature_vec_model.cpp | |
parent | 3c5faf58ed108b258e0803f29a959391f34dd9f4 (diff) |
Add Model::RemoveAllCountries function.
Minor fixes.
Diffstat (limited to 'map/feature_vec_model.cpp')
-rw-r--r-- | map/feature_vec_model.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/map/feature_vec_model.cpp b/map/feature_vec_model.cpp index 7bcf90a6aa..16e736f97e 100644 --- a/map/feature_vec_model.cpp +++ b/map/feature_vec_model.cpp @@ -53,12 +53,17 @@ void FeaturesFetcher::RemoveMap(string const & fName) m_multiIndex.Remove(fName); } -void FeaturesFetcher::Clean() +void FeaturesFetcher::RemoveAllCountries() { - m_rect.MakeEmpty(); - // TODO: m_multiIndex.Clear(); - is it needed? + m_multiIndex.RemoveAllCountries(); } +//void FeaturesFetcher::Clean() +//{ +// m_rect.MakeEmpty(); +// // TODO: m_multiIndex.Clear(); - is it needed? +//} + void FeaturesFetcher::ClearCaches() { m_multiIndex.ClearCache(); |