1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +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,9 +1,8 @@
#pragma once
#include <AK/Function.h>
#include <AK/RefCounted.h>
#include <AK/NonnullOwnPtrVector.h>
#include <AK/NonnullRefPtr.h>
#include <AK/Vector.h>
#include <LibGUI/GMenuItem.h>
class GAction;
@ -35,5 +34,5 @@ private:
int m_menu_id { -1 };
String m_name;
Vector<OwnPtr<GMenuItem>> m_items;
NonnullOwnPtrVector<GMenuItem> m_items;
};