mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
StringBuilder: Use a ByteBuffer internally instead of a Vector<String>.
This commit is contained in:
parent
074edffc44
commit
9d7da26b4e
Notes:
sideshowbarker
2024-07-19 16:00:39 +09:00
Author: https://github.com/awesomekling
Commit: 9d7da26b4e
6 changed files with 58 additions and 37 deletions
|
@ -38,7 +38,7 @@ bool FileSystemPath::canonicalize(bool resolve_symbolic_links)
|
|||
StringBuilder builder;
|
||||
for (auto& cpart : canonical_parts) {
|
||||
builder.append('/');
|
||||
builder.append(move(cpart));
|
||||
builder.append(cpart);
|
||||
}
|
||||
m_string = builder.build();
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue