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:
authorrachytski <siarhei.rachytski@gmail.com>2011-03-15 02:45:53 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:13:35 +0300
commit57230bc42e3860980e7c0fb2e1fb246dfa3c64e4 (patch)
tree0705234328c4257e2a813eff278939950f1d346a /map/feature_vec_model.cpp
parentb8f6f73964aee38700eac8053ac9c9811ed2e06b (diff)
clearing caches on memoryWarning.
Diffstat (limited to 'map/feature_vec_model.cpp')
-rw-r--r--map/feature_vec_model.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/feature_vec_model.cpp b/map/feature_vec_model.cpp
index bb41422f07..5e55f54acf 100644
--- a/map/feature_vec_model.cpp
+++ b/map/feature_vec_model.cpp
@@ -53,6 +53,11 @@ void FeaturesFetcher::Clean()
m_multiIndex.Clean();
}
+void FeaturesFetcher::ClearCaches()
+{
+ m_multiIndex.ClearCaches();
+}
+
m2::RectD FeaturesFetcher::GetWorldRect() const
{
if (m_rect == m2::RectD())