| 705 | } |
| 706 | |
| 707 | void Geocoder::CacheWorldLocalities() |
| 708 | { |
| 709 | if (auto context = GetWorldContext(m_dataSource)) |
| 710 | { |
| 711 | // Get only world localities |
| 712 | UNUSED_VALUE(m_localitiesCaches.m_countries.Get(*context)); |
| 713 | UNUSED_VALUE(m_localitiesCaches.m_states.Get(*context)); |
| 714 | UNUSED_VALUE(m_localitiesCaches.m_citiesTownsOrVillages.Get(*context)); |
| 715 | } |
| 716 | else |
| 717 | { |
| 718 | // This is strange situation, anyway. |
| 719 | LOG(LWARNING, ("Can't find World map file.")); |
| 720 | } |
| 721 | } |
| 722 | |
| 723 | void Geocoder::FillLocalitiesTable(BaseContext const & ctx) |
| 724 | { |
nothing calls this directly
no test coverage detected