| 31 | } |
| 32 | |
| 33 | ComplexLoader::ComplexLoader(std::string const & filename) |
| 34 | { |
| 35 | auto trees = hierarchy::LoadHierachy(filename); |
| 36 | base::EraseIf(trees, [](auto const & e) { return !IsComplex(e); }); |
| 37 | for (auto const & tree : trees) |
| 38 | m_forests[GetCountry(tree)].Append(tree); |
| 39 | } |
| 40 | |
| 41 | tree_node::Forest<HierarchyEntry> const & ComplexLoader::GetForest(storage::CountryId const & country) const |
| 42 | { |
nothing calls this directly
no test coverage detected