| 50 | } |
| 51 | |
| 52 | inline bool ContainsMenu( const Menus &menus, void *pObj ) |
| 53 | { |
| 54 | return std::count( menus.begin(), menus.end(), pObj ); |
| 55 | } |
| 56 | |
| 57 | // Find a path name for the id in the given menu, but only if it, and |
| 58 | // each sub-menu above it, is uniquely named among peer items |
no test coverage detected