1
Fork 0
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:
Andreas Kling 2019-07-24 09:12:23 +02:00
parent 90ea4918d6
commit 2196f17c10
7 changed files with 46 additions and 47 deletions

View file

@ -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 };
};