diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-06-02 12:19:21 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-02 12:55:51 +0200 |
commit | b55b6cd7fcaa8518e4901d4ec5bd0a9da5b28fc0 (patch) | |
tree | 31cb4731fd477522fd6866b6433f6957d421cca4 /Kernel | |
parent | decf1afbaa44d9083137675159ae2fc280f2b1ac (diff) | |
download | serenity-b55b6cd7fcaa8518e4901d4ec5bd0a9da5b28fc0.zip |
AK: Add implicit String -> StringView conversion
And tidy up existing view() users.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 5b84737ac2..6a71c312ad 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -312,7 +312,7 @@ int Process::do_exec(String path, Vector<String> arguments, Vector<String> envir if (parts.is_empty()) return -ENOENT; - auto result = VFS::the().open(path.view(), 0, 0, current_directory()); + auto result = VFS::the().open(path, 0, 0, current_directory()); if (result.is_error()) return result.error(); auto descriptor = result.value(); |