diff options
Diffstat (limited to 'AK/LexicalPath.h')
-rw-r--r-- | AK/LexicalPath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/LexicalPath.h b/AK/LexicalPath.h index f5e0ec71f9..1001cb2d3f 100644 --- a/AK/LexicalPath.h +++ b/AK/LexicalPath.h @@ -49,7 +49,7 @@ public: builder.append(first); ((builder.append('/'), builder.append(forward<S>(rest))), ...); - return LexicalPath { builder.to_string() }; + return LexicalPath { builder.to_deprecated_string() }; } [[nodiscard]] static DeprecatedString dirname(DeprecatedString path) |