void BundleQueue::getSubBundles(const string& aTarget, BundleList& retBundles) const noexcept { /* Returns bundles that are inside aTarget */ for(const auto& compareBundle: bundles | map_values) { if (AirUtil::isSubLocal(compareBundle->getTarget(), aTarget)) { retBundles.push_back(compareBundle); } } }