chore: remove unused < operator for Timer class
This commit is contained in:
@ -464,8 +464,3 @@ void EventQueue::Timer::fillEvent(TimerEvent &event) const
|
||||
event.m_count = static_cast<uint32_t>((m_timeout - m_time) / m_timeout);
|
||||
}
|
||||
}
|
||||
|
||||
bool EventQueue::Timer::operator<(const Timer &t) const
|
||||
{
|
||||
return m_time < t.m_time;
|
||||
}
|
||||
|
||||
@ -86,8 +86,6 @@ private:
|
||||
void *getTarget() const;
|
||||
void fillEvent(TimerEvent &) const;
|
||||
|
||||
bool operator<(const Timer &) const;
|
||||
|
||||
private:
|
||||
EventQueueTimer *m_timer;
|
||||
double m_timeout;
|
||||
|
||||
Reference in New Issue
Block a user