1
Fork 0
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:
Andreas Kling 2019-07-24 09:04:57 +02:00
parent a635e62e6a
commit 90ea4918d6
4 changed files with 38 additions and 42 deletions

View file

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