mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
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<size_t>, which is definitely not the right overload :)
This commit is contained in:
committed by
Andreas Kling
parent
705e91d332
commit
3829bf115c
@@ -57,7 +57,7 @@ public:
|
||||
first = false;
|
||||
else
|
||||
append(separator);
|
||||
append(item);
|
||||
appendff("{}", item);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user