summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/timer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/timer.cc b/base/timer.cc
index 5cf6002..16d0ad8 100644
--- a/base/timer.cc
+++ b/base/timer.cc
@@ -33,8 +33,8 @@ Timer::Timer(int delay, Task* task, bool repeating)
}
Timer::Timer(Time fire_time, Task* task)
- : task_(task),
- fire_time_(fire_time),
+ : fire_time_(fire_time),
+ task_(task),
repeating_(false) {
timer_id_ = timer_id_counter_.GetNext();