| 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();
|
|
|
|
|