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

@ -52,8 +52,7 @@ public:
template<typename... Parameters>
void appendff(StringView fmtstr, const Parameters&... parameters)
{
const auto type_erased_parameters = make_type_erased_parameters(parameters...);
vformat(*this, fmtstr, type_erased_parameters);
vformat(*this, fmtstr, VariadicFormatParams { parameters... });
}
String build() const;