1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:34:57 +00:00

AK: Remove StringBuilder::appendf()

All users have been converted to using AK::Format via appendff().
This commit is contained in:
Andreas Kling 2021-05-07 21:09:58 +02:00
parent 730ed465fe
commit 834b6508d7
2 changed files with 0 additions and 10 deletions

View file

@ -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());