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

Unified Diff: base/i18n/char_iterator.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/event_recorder.h ('k') | base/mach_ipc_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/char_iterator.h
diff --git a/base/i18n/char_iterator.h b/base/i18n/char_iterator.h
index 431e350cad25c81e0d9a19a93caaf8c25d2588a7..25bcf9aac3ae968e07d018b69924cd7936c70fc3 100644
--- a/base/i18n/char_iterator.h
+++ b/base/i18n/char_iterator.h
@@ -30,7 +30,7 @@ namespace i18n {
class BASE_I18N_EXPORT UTF8CharIterator {
public:
// Requires |str| to live as long as the UTF8CharIterator does.
- UTF8CharIterator(const std::string* str);
+ explicit UTF8CharIterator(const std::string* str);
~UTF8CharIterator();
// Return the starting array index of the current character within the
@@ -76,7 +76,7 @@ class BASE_I18N_EXPORT UTF8CharIterator {
class BASE_I18N_EXPORT UTF16CharIterator {
public:
// Requires |str| to live as long as the UTF16CharIterator does.
- UTF16CharIterator(const string16* str);
+ explicit UTF16CharIterator(const string16* str);
UTF16CharIterator(const char16* str, size_t str_len);
~UTF16CharIterator();
« no previous file with comments | « base/event_recorder.h ('k') | base/mach_ipc_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698