mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK+Format: Remove TypeErasedFormatParams& from format function.
This commit is contained in:
@@ -273,9 +273,9 @@ const LogStream& operator<<(const LogStream& stream, const Object& object)
|
||||
|
||||
namespace AK {
|
||||
|
||||
void Formatter<Core::Object>::format(TypeErasedFormatParams& params, FormatBuilder& builder, const Core::Object& value)
|
||||
void Formatter<Core::Object>::format(FormatBuilder& builder, const Core::Object& value)
|
||||
{
|
||||
Formatter<StringView>::format(params, builder, String::formatted("{}({})", value.class_name(), &value));
|
||||
Formatter<StringView>::format(builder, String::formatted("{}({})", value.class_name(), &value));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ private:
|
||||
namespace AK {
|
||||
template<>
|
||||
struct Formatter<Core::Object> : Formatter<StringView> {
|
||||
void format(TypeErasedFormatParams&, FormatBuilder&, const Core::Object&);
|
||||
void format(FormatBuilder&, const Core::Object&);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user