BString: Add format attribute to SetToFormatVarArgs.

This commit is contained in:
Michael Lotz
2014-11-02 11:38:44 +01:00
parent 5e654f6ab8
commit 969af8044a
+2 -1
View File
@@ -58,7 +58,8 @@ public:
BString& SetToFormat(const char* format, ...)
__attribute__((__format__(__printf__, 2, 3)));
BString& SetToFormatVarArgs(const char* format,
va_list args);
va_list args)
__attribute__((__format__(__printf__, 2, 0)));
// Substring copying
BString& CopyInto(BString& into, int32 fromOffset,