Looks for a specific plugin by ID. @param p_PluginId ID of plugin to look for. @return Plugin with the given ID, or nullptr if no such plugin was found.
| 44 | // @return Plugin with the given ID, or nullptr if no such plugin was found. |
| 45 | // |
| 46 | PluginSP AllPluginsProvider::GetPlugin(const GUID& p_PluginId) const |
| 47 | { |
| 48 | const auto it = m_sspAllPlugins.find(p_PluginId); |
| 49 | return it != m_sspAllPlugins.end() ? *it : nullptr; |
| 50 | } |
| 51 | |
| 52 | } // namespace PCC |
no test coverage detected