mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +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
|
@ -197,7 +197,7 @@ public:
|
|||
};
|
||||
|
||||
struct Frame {
|
||||
Frame(NonnullOwnPtrVector<LocalFrame>& frames, LocalFrame const& frame)
|
||||
Frame(Vector<NonnullOwnPtr<LocalFrame>>& frames, LocalFrame const& frame)
|
||||
: frames(frames)
|
||||
, frame(frame)
|
||||
{
|
||||
|
@ -207,7 +207,7 @@ public:
|
|||
void leak_frame() { should_destroy_frame = false; }
|
||||
|
||||
private:
|
||||
NonnullOwnPtrVector<LocalFrame>& frames;
|
||||
Vector<NonnullOwnPtr<LocalFrame>>& frames;
|
||||
LocalFrame const& frame;
|
||||
bool should_destroy_frame { true };
|
||||
};
|
||||
|
@ -458,7 +458,7 @@ private:
|
|||
};
|
||||
|
||||
HashMap<DeprecatedString, ShellFunction> m_functions;
|
||||
NonnullOwnPtrVector<LocalFrame> m_local_frames;
|
||||
Vector<NonnullOwnPtr<LocalFrame>> m_local_frames;
|
||||
Promise::List m_active_promises;
|
||||
Vector<NonnullRefPtr<AST::Redirection>> m_global_redirections;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue