mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
VisualBuilder: Convert Vector<OwnPtr> to NonnullOwnPtrVector.
This commit is contained in:
parent
31a2a6ca2d
commit
e2798d6208
5 changed files with 17 additions and 15 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "VBWidgetType.h"
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/NonnullOwnPtrVector.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
|
||||
class GWidget;
|
||||
|
@ -18,7 +19,7 @@ public:
|
|||
callback((VBWidgetType)i);
|
||||
}
|
||||
|
||||
static GWidget* build_gwidget(VBWidget&, VBWidgetType, GWidget* parent, Vector<OwnPtr<VBProperty>>&);
|
||||
static GWidget* build_gwidget(VBWidget&, VBWidgetType, GWidget* parent, NonnullOwnPtrVector<VBProperty>&);
|
||||
};
|
||||
|
||||
String to_class_name(VBWidgetType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue