mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09: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
Notes:
sideshowbarker
2024-07-18 07:25:20 +09:00
Author: https://github.com/alimpfard
Commit: 3829bf115c
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;
|
first = false;
|
||||||
else
|
else
|
||||||
append(separator);
|
append(separator);
|
||||||
append(item);
|
appendff("{}", item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue