mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17: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
|
@ -32,7 +32,7 @@ private:
|
|||
struct ClassViewNode {
|
||||
StringView name;
|
||||
CodeComprehension::Declaration const* declaration { nullptr };
|
||||
NonnullOwnPtrVector<ClassViewNode> children;
|
||||
Vector<NonnullOwnPtr<ClassViewNode>> children;
|
||||
ClassViewNode* parent { nullptr };
|
||||
|
||||
explicit ClassViewNode(StringView name)
|
||||
|
@ -51,7 +51,7 @@ public:
|
|||
private:
|
||||
explicit ClassViewModel();
|
||||
void add_declaration(CodeComprehension::Declaration const&);
|
||||
NonnullOwnPtrVector<ClassViewNode> m_root_scope;
|
||||
Vector<NonnullOwnPtr<ClassViewNode>> m_root_scope;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue