1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 02:47:34 +00:00

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