mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +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
Notes:
sideshowbarker
2024-07-18 07:25:20 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/3829bf115c8 Pull-request: https://github.com/SerenityOS/serenity/pull/9227
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
Reference in a new issue