1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

VisualBuilder: Use NonnullRefPtrVector.

This commit is contained in:
Andreas Kling 2019-06-27 13:49:26 +02:00
parent d403e56494
commit 65e470c90a
2 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
#pragma once
#include "VBWidget.h"
#include <AK/Vector.h>
#include <AK/NonnullRefPtrVector.h>
#include <LibGUI/GWidget.h>
class VBForm : public GWidget {
@ -52,7 +52,7 @@ private:
String m_name;
int m_grid_size { 5 };
bool m_should_snap_to_grid { true };
Vector<NonnullRefPtr<VBWidget>> m_widgets;
NonnullRefPtrVector<VBWidget> m_widgets;
HashMap<GWidget*, VBWidget*> m_gwidget_map;
HashTable<VBWidget*> m_selected_widgets;
Point m_transform_event_origin;