summaryrefslogtreecommitdiff
path: root/AK/StringImpl.h
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2020-12-30 12:14:15 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-30 20:33:53 +0100
commit7e62ffbc6ea3d6ee9300c2c7c7361cb528db1808 (patch)
tree65bf0ae501594a2482921a95514fe4cec1f098f2 /AK/StringImpl.h
parent865f5ed4f6bb6f6a756946f6b3ef3f021ac9554c (diff)
downloadserenity-7e62ffbc6ea3d6ee9300c2c7c7361cb528db1808.zip
AK+Format: Remove TypeErasedFormatParams& from format function.
Diffstat (limited to 'AK/StringImpl.h')
-rw-r--r--AK/StringImpl.h4
1 files changed, 2 insertions, 2 deletions
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<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() });
}
};