| 1249 | |
| 1250 | |
| 1251 | bool Resources::isShared(const Resource& resource) |
| 1252 | { |
| 1253 | CHECK(!resource.has_role()) << resource; |
| 1254 | CHECK(!resource.has_reservation()) << resource; |
| 1255 | |
| 1256 | return resource.has_shared(); |
| 1257 | } |
| 1258 | |
| 1259 | |
| 1260 | bool Resources::isAllocatedToRoleSubtree( |
no outgoing calls
no test coverage detected