linear search
| 426 | |
| 427 | // linear search |
| 428 | auto MacroCommandsCatalog::ByCommandId( const CommandID &commandId ) const |
| 429 | -> Entries::const_iterator |
| 430 | { |
| 431 | // Maybe this too should have a uniqueness check? |
| 432 | return std::find_if( begin(), end(), |
| 433 | [&](const Entry &entry) |
| 434 | { return entry.name.Internal() == commandId; }); |
| 435 | } |
| 436 | |
| 437 | // linear search |
| 438 | auto MacroCommandsCatalog::ByTranslation(const wxString &translation) const |
no test coverage detected