MCPcopy Create free account
hub / github.com/comaps/comaps / ClearCache

Method ClearCache

libs/search/locality_finder.cpp:244–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242{}
243
244void LocalityFinder::ClearCache()
245{
246 m_ranks.reset();
247 m_cities.Clear();
248 m_villages.Clear();
249
250 m_maps.Clear();
251 m_worldId.Reset();
252 m_mapsLoaded = false;
253
254 m_loadedIds.clear();
255}
256
257void LocalityFinder::LoadVicinity(m2::PointD const & p, bool loadCities, bool loadVillages)
258{

Callers 2

ClearCachesMethod · 0.45
ClearCachesMethod · 0.45

Calls 4

resetMethod · 0.45
ClearMethod · 0.45
ResetMethod · 0.45
clearMethod · 0.45

Tested by 1

ClearCachesMethod · 0.36