| 95 | // ---------------------------------------------------------------------- |
| 96 | |
| 97 | void JoinStringsInArray(string const* const* components, |
| 98 | int num_components, |
| 99 | const char* delim, |
| 100 | string * result) { |
| 101 | CHECK(result != nullptr); |
| 102 | result->clear(); |
| 103 | for (int i = 0; i < num_components; i++) { |
| 104 | if (i>0) { |
| 105 | (*result) += delim; |
| 106 | } |
| 107 | (*result) += *(components[i]); |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | void JoinStringsInArray(string const *components, |
| 112 | int num_components, |
nothing calls this directly
no test coverage detected