diff --git a/src/client/Response.cxx b/src/client/Response.cxx index eeefd549f..f3f6f500e 100644 --- a/src/client/Response.cxx +++ b/src/client/Response.cxx @@ -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 { diff --git a/src/client/Response.hxx b/src/client/Response.hxx index 537001aae..4b6af9417 100644 --- a/src/client/Response.hxx +++ b/src/client/Response.hxx @@ -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>