mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 11:48:06 +00:00
AK+Format: Remove TypeErasedFormatParams& from format function.
This commit is contained in:
parent
865f5ed4f6
commit
7e62ffbc6e
Notes:
sideshowbarker
2024-07-19 00:21:49 +09:00
Author: https://github.com/asynts
Commit: 7e62ffbc6e
Pull-request: https://github.com/SerenityOS/serenity/pull/4663
27 changed files with 129 additions and 134 deletions
|
@ -455,9 +455,9 @@ namespace AK {
|
|||
|
||||
template<typename T>
|
||||
struct Formatter<Gfx::Rect<T>> : Formatter<StringView> {
|
||||
void format(TypeErasedFormatParams& params, FormatBuilder& builder, const Gfx::Rect<T>& value)
|
||||
void format(FormatBuilder& builder, const Gfx::Rect<T>& value)
|
||||
{
|
||||
Formatter<StringView>::format(params, builder, value.to_string());
|
||||
Formatter<StringView>::format(builder, value.to_string());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue