mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
AK: Remove StringBuilder::appendf()
All users have been converted to using AK::Format via appendff().
This commit is contained in:
@@ -69,15 +69,6 @@ void StringBuilder::appendvf(const char* fmt, va_list ap)
|
||||
nullptr, fmt, ap);
|
||||
}
|
||||
|
||||
void StringBuilder::appendf(const char* fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
will_append(strlen(fmt));
|
||||
appendvf(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
ByteBuffer StringBuilder::to_byte_buffer() const
|
||||
{
|
||||
return ByteBuffer::copy(data(), length());
|
||||
|
||||
Reference in New Issue
Block a user