| 432 | } |
| 433 | |
| 434 | std::vector<std::shared_ptr<BundlePrivate>> |
| 435 | BundleRegistry::GetBundles(std::string const& location) const |
| 436 | { |
| 437 | CheckIllegalState(); |
| 438 | |
| 439 | auto l = bundles.Lock(); |
| 440 | US_UNUSED(l); |
| 441 | |
| 442 | auto range = bundles.v.equal_range(location); |
| 443 | std::vector<std::shared_ptr<BundlePrivate>> result; |
| 444 | std::transform(range.first, |
| 445 | range.second, |
| 446 | std::back_inserter(result), |
| 447 | [](BundleMap::value_type const& p) { return p.second; }); |
| 448 | return result; |
| 449 | } |
| 450 | |
| 451 | std::vector<std::shared_ptr<BundlePrivate>> |
| 452 | BundleRegistry::GetBundles(std::string const& name, BundleVersion const& version) const |
nothing calls this directly
no test coverage detected