| 299 | } |
| 300 | |
| 301 | unique_ptr<MwmContext> GetWorldContext(DataSource const & dataSource) |
| 302 | { |
| 303 | vector<shared_ptr<MwmInfo>> infos; |
| 304 | dataSource.GetMwmsInfo(infos); |
| 305 | MwmSet::MwmHandle handle = indexer::FindWorld(dataSource, infos); |
| 306 | if (handle.IsAlive()) |
| 307 | return make_unique<MwmContext>(std::move(handle)); |
| 308 | return {}; |
| 309 | } |
| 310 | |
| 311 | #define TRACE(branch) \ |
| 312 | m_resultTracer.CallMethod(ResultTracer::Branch::branch); \ |
no test coverage detected