util/FormatString: update API documentation

This commit is contained in:
Max Kellermann 2020-10-28 15:48:23 +01:00
parent 1195eb266e
commit 6bc73a9ebe

View File

@ -27,16 +27,14 @@
template<typename T> class AllocatedString;
/**
* Format into a newly allocated string. The caller frees the return
* value with delete[].
* Format into an #AllocatedString.
*/
gcc_nonnull_all
AllocatedString<char>
FormatStringV(const char *fmt, std::va_list args) noexcept;
/**
* Format into a newly allocated string. The caller frees the return
* value with delete[].
* Format into an #AllocatedString.
*/
gcc_nonnull(1) gcc_printf(1,2)
AllocatedString<char>