| 5 | namespace search |
| 6 | { |
| 7 | LocalitiesSource::LocalitiesSource() |
| 8 | { |
| 9 | auto & c = classif(); |
| 10 | |
| 11 | auto const city = c.GetTypeByPath({"place", "city"}); |
| 12 | c.ForEachInSubtree([this](uint32_t c) { m_cities.push_back(c); }, city); |
| 13 | |
| 14 | auto const town = c.GetTypeByPath({"place", "town"}); |
| 15 | c.ForEachInSubtree([this](uint32_t t) { m_towns.push_back(t); }, town); |
| 16 | } |
| 17 | } // namespace search |
nothing calls this directly
no test coverage detected