mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +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
|
@ -57,7 +57,7 @@ public:
|
|||
first = false;
|
||||
else
|
||||
append(separator);
|
||||
append(item);
|
||||
appendff("{}", item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue