| 173 | } |
| 174 | |
| 175 | inline bool has_any_groups_above(const ChannelGroups &groups, const Group &group) { |
| 176 | // for each designation in the group |
| 177 | for (auto &pos : group) { |
| 178 | df::coord above(pos); |
| 179 | above.z++; |
| 180 | if (groups.count(above)) { |
| 181 | return true; |
| 182 | } |
| 183 | } |
| 184 | // if there are no incomplete groups above this group, then this group is ready |
| 185 | return false; |
| 186 | } |
| 187 | |
| 188 | inline void cancel_job(df::job* job) { |
| 189 | if (job) { |
no test coverage detected