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

Unified Diff: base/values.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/timer_unittest.cc ('k') | cc/layer_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.cc
diff --git a/base/values.cc b/base/values.cc
index 459d56fa0222fa2ea98503ece9dd755022908725..efffc8942c7b9e905ef8eb9102c510f978976a31 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -68,7 +68,7 @@ class ValueEquals {
// Pass the value against which all consecutive calls of the () operator will
// compare their argument to. This Value object must not be destroyed while
// the ValueEquals is in use.
- ValueEquals(const Value* first) : first_(first) { }
+ explicit ValueEquals(const Value* first) : first_(first) { }
bool operator ()(const Value* second) const {
return first_->Equals(second);
« no previous file with comments | « base/timer_unittest.cc ('k') | cc/layer_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698