| 126 | } |
| 127 | |
| 128 | void Track::insertOrderBelow(int order) |
| 129 | { |
| 130 | int n = searchFirstUneditedUnusedPattern(); |
| 131 | if (n == -1) n = PATTERN_SIZE - 1; |
| 132 | |
| 133 | if (order == static_cast<int>(order_.size()) - 1) order_.push_back(n); |
| 134 | else order_.insert(order_.begin() + order + 1, n); |
| 135 | patterns_[static_cast<size_t>(n)].increaseUsedCount(); |
| 136 | } |
| 137 | |
| 138 | void Track::deleteOrder(int order) |
| 139 | { |
nothing calls this directly
no test coverage detected