From 7e62ffbc6ea3d6ee9300c2c7c7361cb528db1808 Mon Sep 17 00:00:00 2001 From: asynts Date: Wed, 30 Dec 2020 12:14:15 +0100 Subject: AK+Format: Remove TypeErasedFormatParams& from format function. --- AK/StringImpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AK/StringImpl.h') diff --git a/AK/StringImpl.h b/AK/StringImpl.h index 24278ce99e..506775ef8a 100644 --- a/AK/StringImpl.h +++ b/AK/StringImpl.h @@ -132,9 +132,9 @@ constexpr u32 string_hash(const char* characters, size_t length) template<> struct Formatter : Formatter { - void format(TypeErasedFormatParams& params, FormatBuilder& builder, const StringImpl& value) + void format(FormatBuilder& builder, const StringImpl& value) { - Formatter::format(params, builder, { value.characters(), value.length() }); + Formatter::format(builder, { value.characters(), value.length() }); } }; -- cgit v1.2.3