summaryrefslogtreecommitdiffstats
path: root/base/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/timer.h')
-rw-r--r--base/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/timer.h b/base/timer.h
index a87149e..a6d18bc 100644
--- a/base/timer.h
+++ b/base/timer.h
@@ -85,7 +85,7 @@ class BaseTimer_Helper {
// We have access to the timer_ member so we can orphan this task.
class TimerTask : public Task {
public:
- TimerTask(TimeDelta delay) : timer_(NULL), delay_(delay) {
+ explicit TimerTask(TimeDelta delay) : timer_(NULL), delay_(delay) {
}
virtual ~TimerTask() {}
BaseTimer_Helper* timer_;