| 235 | } |
| 236 | |
| 237 | bool MgrMap::StandbyInfo::have_module(const std::string &module_name) const |
| 238 | { |
| 239 | auto it = std::find_if(available_modules.begin(), |
| 240 | available_modules.end(), |
| 241 | [module_name](const ModuleInfo &m) -> bool { |
| 242 | return m.name == module_name; |
| 243 | }); |
| 244 | |
| 245 | return it != available_modules.end(); |
| 246 | } |
| 247 | |
| 248 | MgrMap::MgrMap() noexcept = default; |
| 249 | MgrMap::~MgrMap() noexcept = default; |
no test coverage detected