| 630 | |
| 631 | |
| 632 | void expandMaxWidthsAccordingToLabels(vector<size_t> &widths, vector<string> &labels) { |
| 633 | |
| 634 | if (labels.empty()) |
| 635 | return; |
| 636 | |
| 637 | for (size_t c=0; c<widths.size(); c++) { |
| 638 | size_t labelWidth = labels[c].size(); |
| 639 | if (labelWidth > widths[c]) |
| 640 | widths[c] = labelWidth; |
| 641 | } |
| 642 | } |
| 643 | |
| 644 | |
| 645 | void printPerRowIndent(string baseIndent, size_t row, string indentPerRow) { |
no outgoing calls
no test coverage detected