Convert the list to a vector of pointers
| 1559 | |
| 1560 | // Convert the list to a vector of pointers |
| 1561 | void Diff3LineList::calcDiff3LineVector(Diff3LineVector& d3lv) |
| 1562 | { |
| 1563 | d3lv.resize(size()); |
| 1564 | Diff3LineList::iterator i; |
| 1565 | size_t j = 0; |
| 1566 | for(i = begin(); i != end(); ++i, ++j) |
| 1567 | { |
| 1568 | d3lv[j] = &(*i); |
| 1569 | } |
| 1570 | assert(j == d3lv.size()); |
| 1571 | } |
| 1572 | |
| 1573 | // Just make sure that all input lines are in the output too, exactly once. |
| 1574 | void Diff3LineList::debugLineCheck(const LineType size, const e_SrcSelector srcSelector) const |