mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
AK+Format: Do some housekeeping in the format implementation.
This commit is contained in:
parent
ac5e08a541
commit
6351a56d27
Notes:
sideshowbarker
2024-07-19 02:05:38 +09:00
Author: https://github.com/asynts
Commit: 6351a56d27
Pull-request: https://github.com/SerenityOS/serenity/pull/3663
13 changed files with 476 additions and 640 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue