Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index ebe1b5b43b58901f28b710c0e1c92def905e8b8e..ba4a65cb6317d313d825d263c440527065809181 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -252,6 +252,14 @@ void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1, |
} |
+void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1, |
+ FmtElm arg2, FmtElm arg3, FmtElm arg4) { |
+ const char argc = 5; |
+ FmtElm argv[argc] = { arg0, arg1, arg2, arg3, arg4 }; |
+ Add(CStrVector(format), Vector<FmtElm>(argv, argc)); |
+} |
+ |
+ |
SmartArrayPointer<const char> StringStream::ToCString() const { |
char* str = NewArray<char>(length_ + 1); |
OS::MemCopy(str, buffer_, length_); |