| 283 | } |
| 284 | |
| 285 | void CountryTree::Find(CountryId const & key, NodesBufferT & found) const |
| 286 | { |
| 287 | found.clear(); |
| 288 | if (IsEmpty()) |
| 289 | return; |
| 290 | |
| 291 | if (key == m_countryTree->Value().Name()) |
| 292 | found.push_back(m_countryTree.get()); |
| 293 | |
| 294 | auto const range = m_countryTreeMap.equal_range(key); |
| 295 | for (auto it = range.first; it != range.second; ++it) |
| 296 | found.push_back(it->second); |
| 297 | } |
| 298 | |
| 299 | CountryTree::Node const * CountryTree::FindFirst(CountryId const & key) const |
| 300 | { |
no test coverage detected