1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:17:44 +00:00

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
parent 865f5ed4f6
commit 7e62ffbc6e
27 changed files with 129 additions and 134 deletions

View file

@ -132,9 +132,9 @@ constexpr u32 string_hash(const char* characters, size_t length)
template<>
struct Formatter<StringImpl> : Formatter<StringView> {
void format(TypeErasedFormatParams& params, FormatBuilder& builder, const StringImpl& value)
void format(FormatBuilder& builder, const StringImpl& value)
{
Formatter<StringView>::format(params, builder, { value.characters(), value.length() });
Formatter<StringView>::format(builder, { value.characters(), value.length() });
}
};