diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-06-29 20:26:52 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-30 11:13:54 +0200 |
commit | dde888a3d447dc7378502e58c81c5e97a533a519 (patch) | |
tree | 946d344550a38e3bedd67c1557398991b4a565dc /AK/LexicalPath.h | |
parent | d8be530397bb10dd7f700babcaffcfce5a14b12c (diff) | |
download | serenity-dde888a3d447dc7378502e58c81c5e97a533a519.zip |
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.
Diffstat (limited to 'AK/LexicalPath.h')
-rw-r--r-- | AK/LexicalPath.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/AK/LexicalPath.h b/AK/LexicalPath.h index 82db790747..b065c8c856 100644 --- a/AK/LexicalPath.h +++ b/AK/LexicalPath.h @@ -70,8 +70,6 @@ public: } private: - void canonicalize(); - Vector<StringView> m_parts; String m_string; StringView m_dirname; |