client/Response: remove unused method FormatV()

This commit is contained in:
Max Kellermann 2021-05-27 15:16:20 +02:00
parent 0d97eba7a5
commit 23613355f3
2 changed files with 0 additions and 8 deletions

View File

@ -42,12 +42,6 @@ Response::Write(const char *data) noexcept
return client.Write(data); return client.Write(data);
} }
bool
Response::FormatV(const char *fmt, std::va_list args) noexcept
{
return Write(FormatStringV(fmt, args).c_str());
}
bool bool
Response::VFmt(fmt::string_view format_str, fmt::format_args args) noexcept Response::VFmt(fmt::string_view format_str, fmt::format_args args) noexcept
{ {

View File

@ -28,7 +28,6 @@
#include <fmt/format.h> #include <fmt/format.h>
#endif #endif
#include <cstdarg>
#include <cstddef> #include <cstddef>
template<typename T> struct ConstBuffer; template<typename T> struct ConstBuffer;
@ -79,7 +78,6 @@ public:
bool Write(const void *data, size_t length) noexcept; bool Write(const void *data, size_t length) noexcept;
bool Write(const char *data) noexcept; bool Write(const char *data) noexcept;
bool FormatV(const char *fmt, std::va_list args) noexcept;
bool VFmt(fmt::string_view format_str, fmt::format_args args) noexcept; bool VFmt(fmt::string_view format_str, fmt::format_args args) noexcept;