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

Unified Diff: extensions/common/permissions/base_set_operators.h

Issue 2133203002: [Extensions] Code cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 5 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
Index: extensions/common/permissions/base_set_operators.h
diff --git a/extensions/common/permissions/base_set_operators.h b/extensions/common/permissions/base_set_operators.h
index ffe0323da225693cc2a28ca2d45e730277f5d281..4bc0c4bcee0bd09524be74d69370f3ffaaf7d269 100644
--- a/extensions/common/permissions/base_set_operators.h
+++ b/extensions/common/permissions/base_set_operators.h
@@ -74,9 +74,7 @@ class BaseSetOperators {
"U ptr must implicitly convert to T ptr");
}
- BaseSetOperators(const T& set) {
- this->operator=(set);
- }
+ explicit BaseSetOperators(const T& set) { this->operator=(set); }
~BaseSetOperators() {}

Powered by Google App Engine
This is Rietveld 408576698