mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +00:00
Everywhere: Stop using NonnullOwnPtrVector
Same as NonnullRefPtrVector: weird semantics, questionable benefits.
This commit is contained in:
@@ -348,7 +348,7 @@ ErrorOr<void> Process::procfs_get_command_line(KBufferBuilder& builder) const
|
||||
{
|
||||
auto array = TRY(JsonArraySerializer<>::try_create(builder));
|
||||
for (auto const& arg : arguments()) {
|
||||
TRY(array.add(arg.view()));
|
||||
TRY(array.add(arg->view()));
|
||||
}
|
||||
TRY(array.finish());
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user