mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +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:
parent
705e91d332
commit
3829bf115c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public:
|
|||
first = false;
|
||||
else
|
||||
append(separator);
|
||||
append(item);
|
||||
appendff("{}", item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue