mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +00:00
Everywhere: Stop using NonnullOwnPtrVector
Same as NonnullRefPtrVector: weird semantics, questionable benefits.
This commit is contained in:
parent
689ca370d4
commit
359d6e7b0b
111 changed files with 517 additions and 503 deletions
|
@ -287,14 +287,14 @@ ErrorOr<void> Coredump::create_notes_process_data(auto& builder) const
|
|||
{
|
||||
auto arguments_array = TRY(process_obj.add_array("arguments"sv));
|
||||
for (auto const& argument : m_process->arguments())
|
||||
TRY(arguments_array.add(argument.view()));
|
||||
TRY(arguments_array.add(argument->view()));
|
||||
TRY(arguments_array.finish());
|
||||
}
|
||||
|
||||
{
|
||||
auto environment_array = TRY(process_obj.add_array("environment"sv));
|
||||
for (auto const& variable : m_process->environment())
|
||||
TRY(environment_array.add(variable.view()));
|
||||
TRY(environment_array.add(variable->view()));
|
||||
TRY(environment_array.finish());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue