AK+Format: Do some housekeeping in the format implementation.

This commit is contained in:
asynts 2020-10-02 15:21:30 +02:00 committed by Andreas Kling
commit 6351a56d27
Notes: sideshowbarker 2024-07-19 02:05:38 +09:00
13 changed files with 476 additions and 640 deletions

View file

@ -441,10 +441,10 @@ InputStream& operator>>(InputStream& stream, String& string)
}
}
String String::vformatted(StringView fmtstr, Span<const TypeErasedParameter> parameters)
String String::vformatted(StringView fmtstr, TypeErasedFormatParams params)
{
StringBuilder builder;
vformat(builder, fmtstr, parameters);
vformat(builder, fmtstr, params);
return builder.to_string();
}