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