Kernel: Use StringView literals instead of empty Strings in ProcFS

This commit is contained in:
Idan Horowitz 2022-01-12 23:22:40 +02:00 committed by Brian Gianforcaro
parent 0fc25273e4
commit 119f900451

View file

@ -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());