mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
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: 119f900451
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;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
process_object.add("pledge", String());
|
process_object.add("pledge", ""sv);
|
||||||
process_object.add("veil", String());
|
process_object.add("veil", ""sv);
|
||||||
}
|
}
|
||||||
|
|
||||||
process_object.add("pid", process.pid().value());
|
process_object.add("pid", process.pid().value());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue