From 3829bf115c858b03335ee5ac280df729d0722745 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Thu, 5 Aug 2021 22:23:13 +0430 Subject: [PATCH] AK: Make StringBuilder::join() use appendff() instead of append() `append()` is almost never going to select the overload that is desired. e.g. it will append chars when you pass it a Vector, which is definitely not the right overload :) --- AK/StringBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/StringBuilder.h b/AK/StringBuilder.h index 118e5c0958..ea2ddf8156 100644 --- a/AK/StringBuilder.h +++ b/AK/StringBuilder.h @@ -57,7 +57,7 @@ public: first = false; else append(separator); - append(item); + appendff("{}", item); } }