1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:27:35 +00:00

Start using WeakPtr for some of the WindowManager window pointers.

This commit is contained in:
Andreas Kling 2018-10-13 17:00:45 +02:00
parent 16fff6dff7
commit 560405667e
5 changed files with 29 additions and 8 deletions

View file

@ -1,11 +1,12 @@
#pragma once
#include <AK/Vector.h>
#include <AK/Weakable.h>
class Event;
class TimerEvent;
class Object {
class Object : public Weakable<Object> {
public:
Object(Object* parent = nullptr);
virtual ~Object();