TimerEvent fields were renamed; timer pointer removed

This commit is contained in:
Pavel Kirienko
2014-03-14 01:09:13 +04:00
parent 6d584734bb
commit cefc346ebb
3 changed files with 12 additions and 18 deletions
+5 -7
View File
@@ -17,14 +17,12 @@ class Timer;
struct TimerEvent
{
MonotonicTime scheduled_deadline;
MonotonicTime current_timestamp;
Timer* timer;
MonotonicTime scheduled_time;
MonotonicTime real_time;
TimerEvent(Timer* timer, MonotonicTime scheduled_deadline, MonotonicTime current_timestamp)
: scheduled_deadline(scheduled_deadline)
, current_timestamp(current_timestamp)
, timer(timer)
TimerEvent(MonotonicTime scheduled_time, MonotonicTime real_time)
: scheduled_time(scheduled_time)
, real_time(real_time)
{ }
};