1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

AK: Use StringBuilder::appendff() instead of appendf()

This commit is contained in:
Andreas Kling 2021-02-09 16:08:11 +01:00
parent db0149056f
commit 764af6cdec
4 changed files with 11 additions and 11 deletions

View file

@ -172,7 +172,7 @@ inline void JsonValue::serialize(Builder& builder) const
break;
#if !defined(KERNEL)
case Type::Double:
builder.appendf("%g", m_value.as_double);
builder.appendff("{}", m_value.as_double);
break;
#endif
case Type::Int32: