Commit 18efda71 authored by Max Kellermann's avatar Max Kellermann

client/Response: remove unused method Format()

parent 42239a30
......@@ -49,16 +49,6 @@ Response::FormatV(const char *fmt, std::va_list args) noexcept
}
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
{
fmt::memory_buffer buffer;
......
......@@ -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>
......
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