diff options
Diffstat (limited to 'base/string_util.cc')
-rw-r--r-- | base/string_util.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/string_util.cc b/base/string_util.cc index 9db0f03..b38e182 100644 --- a/base/string_util.cc +++ b/base/string_util.cc @@ -1245,6 +1245,12 @@ std::wstring StringPrintf(const wchar_t* format, ...) { return result; } +std::string StringPrintV(const char* format, va_list ap) { + std::string result; + StringAppendV(&result, format, ap); + return result; +} + const std::string& SStringPrintf(std::string* dst, const char* format, ...) { va_list ap; va_start(ap, format); |