summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-05-27 15:16:20 +0200
committerMax Kellermann <max@musicpd.org>2021-05-27 15:16:35 +0200
commit23613355f3b311bc914d6f250dad69d82c6c38e7 (patch)
tree1e34e88977f74f475c5959ed6b719739a44e5c46 /src/client
parent0d97eba7a58ef6ff3b26ecd1b184bde100619de3 (diff)
client/Response: remove unused method FormatV()
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Response.cxx6
-rw-r--r--src/client/Response.hxx2
2 files changed, 0 insertions, 8 deletions
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
@@ -43,12 +43,6 @@ Response::Write(const char *data) noexcept
}
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
{
fmt::memory_buffer buffer;
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 <fmt/format.h>
#endif
-#include <cstdarg>
#include <cstddef>
template<typename T> 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;