Kernel: Use StringView literals instead of empty Strings in ProcFS
This commit is contained in:
parent
0fc25273e4
commit
119f900451
Notes:
sideshowbarker
2024-07-17 21:01:29 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/119f900451e Pull-request: https://github.com/SerenityOS/serenity/pull/11848 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/bgianfo ✅
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue