client/Response: add `printf` attribute

This commit is contained in:
Max Kellermann 2021-01-20 20:43:14 +01:00
parent ec1e04a65d
commit 2a8c420cff
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ public:
bool Write(const void *data, size_t length) noexcept;
bool Write(const char *data) noexcept;
bool FormatV(const char *fmt, std::va_list args) noexcept;
gcc_printf(2,3)
bool Format(const char *fmt, ...) noexcept;
static constexpr size_t MAX_BINARY_SIZE = 8192;