Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2831)

Unified Diff: base/timer.cc

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/time.h ('k') | base/timer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/timer.cc
diff --git a/base/timer.cc b/base/timer.cc
index 410d1b7806a14c87d42c0e641749c812fb53e2cc..c7dcce04bfa6b6c47908d9cc310a9c2c49b58a6e 100644
--- a/base/timer.cc
+++ b/base/timer.cc
@@ -18,7 +18,7 @@ namespace base {
// - abandoned (orphaned) by Timer.
class BaseTimerTaskInternal {
public:
- BaseTimerTaskInternal(Timer* timer)
+ explicit BaseTimerTaskInternal(Timer* timer)
: timer_(timer) {
}
« no previous file with comments | « base/time.h ('k') | base/timer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698