forked from organicmaps/organicmaps
[search] Add clear of house detector and locality finder caches
This commit is contained in:
parent
86ef4a0116
commit
0816b485d9
1 changed files with 4 additions and 0 deletions
|
@ -225,6 +225,10 @@ void Query::ClearCaches()
|
|||
{
|
||||
for (size_t i = 0; i < COUNT_V; ++i)
|
||||
ClearCache(i);
|
||||
|
||||
m_houseDetector.ClearCaches();
|
||||
|
||||
m_locality.ClearCacheAll();
|
||||
}
|
||||
|
||||
void Query::ClearCache(size_t ind)
|
||||
|
|
Loading…
Add table
Reference in a new issue