summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Color.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 /Libraries/LibGfx/Color.cpp
parent865f5ed4f6bb6f6a756946f6b3ef3f021ac9554c (diff)
downloadserenity-7e62ffbc6ea3d6ee9300c2c7c7361cb528db1808.zip
AK+Format: Remove TypeErasedFormatParams& from format function.
Diffstat (limited to 'Libraries/LibGfx/Color.cpp')
-rw-r--r--Libraries/LibGfx/Color.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGfx/Color.cpp b/Libraries/LibGfx/Color.cpp
index 1dfcda7666..f8a0f244f4 100644
--- a/Libraries/LibGfx/Color.cpp
+++ b/Libraries/LibGfx/Color.cpp
@@ -434,7 +434,7 @@ bool IPC::decode(IPC::Decoder& decoder, Color& color)
return true;
}
-void AK::Formatter<Gfx::Color>::format(TypeErasedFormatParams& params, FormatBuilder& builder, const Gfx::Color& value)
+void AK::Formatter<Gfx::Color>::format(FormatBuilder& builder, const Gfx::Color& value)
{
- Formatter<StringView>::format(params, builder, value.to_string());
+ Formatter<StringView>::format(builder, value.to_string());
}