mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
StringBuilder: Use a ByteBuffer internally instead of a Vector<String>.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user