mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibGUI: Convert Vector<OwnPtr> to NonnullOwnPtrVector.
This is turning out really nice so far. :^)
This commit is contained in:
parent
90ea4918d6
commit
2196f17c10
7 changed files with 46 additions and 47 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/NonnullOwnPtrVector.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
|
||||
class GAction;
|
||||
|
@ -29,6 +30,6 @@ private:
|
|||
Type type { Invalid };
|
||||
RefPtr<GAction> action;
|
||||
};
|
||||
Vector<OwnPtr<Item>> m_items;
|
||||
NonnullOwnPtrVector<Item> m_items;
|
||||
bool m_has_frame { true };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue