| 1229 | |
| 1230 | |
| 1231 | bool Resources::isShared(const Resource& resource) |
| 1232 | { |
| 1233 | CHECK(!resource.has_role()) << resource; |
| 1234 | CHECK(!resource.has_reservation()) << resource; |
| 1235 | |
| 1236 | return resource.has_shared(); |
| 1237 | } |
| 1238 | |
| 1239 | |
| 1240 | bool Resources::isAllocatedToRoleSubtree( |
no outgoing calls
no test coverage detected