From 6bc73a9ebe4256c2da305cf5ddbb60ec11b8625b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 28 Oct 2020 15:48:23 +0100 Subject: [PATCH] util/FormatString: update API documentation --- src/util/FormatString.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/util/FormatString.hxx b/src/util/FormatString.hxx index e1ecc8500..465ac7956 100644 --- a/src/util/FormatString.hxx +++ b/src/util/FormatString.hxx @@ -27,16 +27,14 @@ template class AllocatedString; /** - * Format into a newly allocated string. The caller frees the return - * value with delete[]. + * Format into an #AllocatedString. */ gcc_nonnull_all AllocatedString 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