A helper for the StringAppendV test that follows. Just forwards its args to StringAppendV.
| 17 | // |
| 18 | // Just forwards its args to StringAppendV. |
| 19 | static void StringAppendVTestHelper(std::string* out, const char* format, ...) { |
| 20 | va_list ap; |
| 21 | va_start(ap, format); |
| 22 | StringAppendV(out, format, ap); |
| 23 | va_end(ap); |
| 24 | } |
| 25 | |
| 26 | } // namespace |
| 27 |