client/Response: remove unused method Format()
This commit is contained in:
parent
42239a30eb
commit
18efda719e
@ -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
|
||||
{
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user