diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-03-15 02:45:53 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:13:35 +0300 |
commit | 57230bc42e3860980e7c0fb2e1fb246dfa3c64e4 (patch) | |
tree | 0705234328c4257e2a813eff278939950f1d346a /map/feature_vec_model.cpp | |
parent | b8f6f73964aee38700eac8053ac9c9811ed2e06b (diff) |
clearing caches on memoryWarning.
Diffstat (limited to 'map/feature_vec_model.cpp')
-rw-r--r-- | map/feature_vec_model.cpp | 5 |
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()) |