client/Response: remove unused method Format()

This commit is contained in:
Max Kellermann 2021-05-27 15:14:47 +02:00
parent 42239a30eb
commit 18efda719e
2 changed files with 0 additions and 13 deletions

View File

@ -48,16 +48,6 @@ Response::FormatV(const char *fmt, std::va_list args) noexcept
return Write(FormatStringV(fmt, args).c_str());
}
bool
Response::Format(const char *fmt, ...) noexcept
{
std::va_list args;
va_start(args, fmt);
bool success = FormatV(fmt, args);
va_end(args);
return success;
}
bool
Response::VFmt(fmt::string_view format_str, fmt::format_args args) noexcept
{

View File

@ -81,9 +81,6 @@ public:
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;
bool VFmt(fmt::string_view format_str, fmt::format_args args) noexcept;
template<typename S, typename... Args>