From 23613355f3b311bc914d6f250dad69d82c6c38e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 27 May 2021 15:16:20 +0200 Subject: client/Response: remove unused method FormatV() --- src/client/Response.cxx | 6 ------ src/client/Response.hxx | 2 -- 2 files changed, 8 deletions(-) (limited to 'src/client') diff --git a/src/client/Response.cxx b/src/client/Response.cxx index 20b48f8d7..9f671b607 100644 --- a/src/client/Response.cxx +++ b/src/client/Response.cxx @@ -42,12 +42,6 @@ Response::Write(const char *data) noexcept return client.Write(data); } -bool -Response::FormatV(const char *fmt, std::va_list args) noexcept -{ - return Write(FormatStringV(fmt, args).c_str()); -} - bool Response::VFmt(fmt::string_view format_str, fmt::format_args args) noexcept { diff --git a/src/client/Response.hxx b/src/client/Response.hxx index 42d2f5a6e..a8b4f8de4 100644 --- a/src/client/Response.hxx +++ b/src/client/Response.hxx @@ -28,7 +28,6 @@ #include #endif -#include #include template struct ConstBuffer; @@ -79,7 +78,6 @@ 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; bool VFmt(fmt::string_view format_str, fmt::format_args args) noexcept; -- cgit v1.2.3