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

LibCore+Ladybird: Don't store timer_id in Core::TimerEvent

This commit is contained in:
Dan Klishch 2024-02-17 23:59:28 -05:00 committed by Andrew Kaster
parent cdc0c9f094
commit 21097d1c9e
4 changed files with 8 additions and 13 deletions

View file

@ -66,17 +66,12 @@ private:
class TimerEvent final : public Event {
public:
explicit TimerEvent(int timer_id)
explicit TimerEvent()
: Event(Event::Timer)
, m_timer_id(timer_id)
{
}
~TimerEvent() = default;
int timer_id() const { return m_timer_id; }
private:
int m_timer_id;
};
enum class NotificationType {