AK+Format: Remove TypeErasedFormatParams& from format function.

This commit is contained in:
asynts 2020-12-30 12:14:15 +01:00 committed by Andreas Kling
commit 7e62ffbc6e
Notes: sideshowbarker 2024-07-19 00:21:49 +09:00
27 changed files with 129 additions and 134 deletions

View file

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