| 109 | } |
| 110 | |
| 111 | Load LoadSegment::excessLoad(Load capacity) const |
| 112 | { |
| 113 | return excessLoad_ + std::max<Load>(load_ - capacity, 0); |
| 114 | } |
| 115 | |
| 116 | LoadSegment LoadSegment::finalise(Load capacity) const |
| 117 | { |
no outgoing calls
no test coverage detected