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

Unified Diff: base/threading/thread_collision_warner.h

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/threading/thread_checker_unittest.cc ('k') | base/threading/worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_collision_warner.h
diff --git a/base/threading/thread_collision_warner.h b/base/threading/thread_collision_warner.h
index 2181cbd8dab0959d98286ede785f376ab778d34b..d509a58e8dee4bcef2adc5aba0bcf768e0e2a3fd 100644
--- a/base/threading/thread_collision_warner.h
+++ b/base/threading/thread_collision_warner.h
@@ -144,7 +144,7 @@ struct BASE_EXPORT DCheckAsserter : public AsserterBase {
class BASE_EXPORT ThreadCollisionWarner {
public:
// The parameter asserter is there only for test purpose
- ThreadCollisionWarner(AsserterBase* asserter = new DCheckAsserter())
+ explicit ThreadCollisionWarner(AsserterBase* asserter = new DCheckAsserter())
: valid_thread_id_(0),
counter_(0),
asserter_(asserter) {}
« no previous file with comments | « base/threading/thread_checker_unittest.cc ('k') | base/threading/worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698