diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-12 23:22:40 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-01-13 00:20:08 -0800 |
commit | 119f900451eafafa4bc932fae3c6175d4bd605ad (patch) | |
tree | 0c8114c9fd97f50a74414fe6a018d3a571f0ae54 /Kernel/GlobalProcessExposed.cpp | |
parent | 0fc25273e4919f8e03b8761df5e1ea2afb81e94b (diff) | |
download | serenity-119f900451eafafa4bc932fae3c6175d4bd605ad.zip |
Kernel: Use StringView literals instead of empty Strings in ProcFS
Diffstat (limited to 'Kernel/GlobalProcessExposed.cpp')
-rw-r--r-- | Kernel/GlobalProcessExposed.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/GlobalProcessExposed.cpp b/Kernel/GlobalProcessExposed.cpp index 846154f867..5e21e29bea 100644 --- a/Kernel/GlobalProcessExposed.cpp +++ b/Kernel/GlobalProcessExposed.cpp @@ -480,8 +480,8 @@ private: break; } } else { - process_object.add("pledge", String()); - process_object.add("veil", String()); + process_object.add("pledge", ""sv); + process_object.add("veil", ""sv); } process_object.add("pid", process.pid().value()); |