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:
parent
cdc0c9f094
commit
21097d1c9e
4 changed files with 8 additions and 13 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue