1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:07:34 +00:00

AK: Move path canonicalization into LexicalPath::canonicalized_path

This moves the path canonicalization from the LexicalPath constructor to
canonicalized_path. This allows canonicalized path to no longer
construct a LexicalPath object and initialize all its member variables.
This commit is contained in:
Max Wipfli 2021-06-29 20:26:52 +02:00 committed by Andreas Kling
parent d8be530397
commit dde888a3d4
2 changed files with 56 additions and 57 deletions

View file

@ -70,8 +70,6 @@ public:
}
private:
void canonicalize();
Vector<StringView> m_parts;
String m_string;
StringView m_dirname;