summaryrefslogtreecommitdiff
path: root/AK/Tests/TestFormat.cpp
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/Tests/TestFormat.cpp
parent865f5ed4f6bb6f6a756946f6b3ef3f021ac9554c (diff)
downloadserenity-7e62ffbc6ea3d6ee9300c2c7c7361cb528db1808.zip
AK+Format: Remove TypeErasedFormatParams& from format function.
Diffstat (limited to 'AK/Tests/TestFormat.cpp')
-rw-r--r--AK/Tests/TestFormat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Tests/TestFormat.cpp b/AK/Tests/TestFormat.cpp
index c88a006964..bcf9b91889 100644
--- a/AK/Tests/TestFormat.cpp
+++ b/AK/Tests/TestFormat.cpp
@@ -213,9 +213,9 @@ struct B {
};
template<>
struct AK::Formatter<B> : Formatter<StringView> {
- void format(TypeErasedFormatParams& params, FormatBuilder& builder, B)
+ void format(FormatBuilder& builder, B)
{
- Formatter<StringView>::format(params, builder, "B");
+ Formatter<StringView>::format(builder, "B");
}
};