Commit 2a8c420c authored by Max Kellermann's avatar Max Kellermann

client/Response: add `printf` attribute

parent ec1e04a6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment