mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
WindowServer: Convert Vector<OwnPtr> to NonnullOwnPtrVector.
This commit is contained in:
parent
a635e62e6a
commit
90ea4918d6
4 changed files with 38 additions and 42 deletions
|
@ -1,8 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Badge.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <AK/NonnullOwnPtrVector.h>
|
||||
|
||||
class Painter;
|
||||
class Rect;
|
||||
|
@ -29,6 +28,6 @@ public:
|
|||
|
||||
private:
|
||||
WSWindow& m_window;
|
||||
Vector<OwnPtr<WSButton>> m_buttons;
|
||||
NonnullOwnPtrVector<WSButton> m_buttons;
|
||||
WSButton* m_maximize_button { nullptr };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue