summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Rect.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 /Libraries/LibGfx/Rect.h
parent865f5ed4f6bb6f6a756946f6b3ef3f021ac9554c (diff)
downloadserenity-7e62ffbc6ea3d6ee9300c2c7c7361cb528db1808.zip
AK+Format: Remove TypeErasedFormatParams& from format function.
Diffstat (limited to 'Libraries/LibGfx/Rect.h')
-rw-r--r--Libraries/LibGfx/Rect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGfx/Rect.h b/Libraries/LibGfx/Rect.h
index d485804a80..f54ff43fbf 100644
--- a/Libraries/LibGfx/Rect.h
+++ b/Libraries/LibGfx/Rect.h
@@ -455,9 +455,9 @@ namespace AK {
template<typename T>
struct Formatter<Gfx::Rect<T>> : Formatter<StringView> {
- void format(TypeErasedFormatParams& params, FormatBuilder& builder, const Gfx::Rect<T>& value)
+ void format(FormatBuilder& builder, const Gfx::Rect<T>& value)
{
- Formatter<StringView>::format(params, builder, value.to_string());
+ Formatter<StringView>::format(builder, value.to_string());
}
};