| 59 | ///////////////////////////////////////////////// |
| 60 | |
| 61 | bool operator==( |
| 62 | const Resource::AllocationInfo& left, |
| 63 | const Resource::AllocationInfo& right) |
| 64 | { |
| 65 | if (left.has_role() != right.has_role()) { |
| 66 | return false; |
| 67 | } |
| 68 | |
| 69 | if (left.has_role() && left.role() != right.role()) { |
| 70 | return false; |
| 71 | } |
| 72 | |
| 73 | return true; |
| 74 | } |
| 75 | |
| 76 | |
| 77 | bool operator!=( |