| 16 | } |
| 17 | |
| 18 | const EventConfigCategory* const EventsConfiguration::GetCategory(PCWSTR name) const { |
| 19 | auto it = std::find_if(_categories.begin(), _categories.end(), [&](auto& c) { |
| 20 | return c.Name == name; |
| 21 | }); |
| 22 | return it == _categories.end() ? nullptr : &(*it); |
| 23 | } |
| 24 | |
| 25 | EventConfigCategory* EventsConfiguration::GetCategory(PCWSTR name) { |
| 26 | auto it = std::find_if(_categories.begin(), _categories.end(), [&](auto& c) { |
no test coverage detected