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

Unified Diff: net/tools/flip_server/balsa_headers.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 | « net/test/base_test_server.h ('k') | net/tools/flip_server/spdy_interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/balsa_headers.h
diff --git a/net/tools/flip_server/balsa_headers.h b/net/tools/flip_server/balsa_headers.h
index 1bd3100dac5c55918d1c4552dcb6821b8499b903..36ded43d106ff848f000caecdd4d602178291d94 100644
--- a/net/tools/flip_server/balsa_headers.h
+++ b/net/tools/flip_server/balsa_headers.h
@@ -419,7 +419,7 @@ class BalsaHeaders {
reverse_iterator_base() : iterator_base() {}
// This constructor is no explicit purposely.
- reverse_iterator_base(const iterator_base& it) : // NOLINT
+ explicit reverse_iterator_base(const iterator_base& it) : // NOLINT
iterator_base(it) {
}
@@ -494,7 +494,7 @@ class BalsaHeaders {
typedef const_reverse_header_lines_iterator self;
const_reverse_header_lines_iterator() : reverse_iterator_base() {}
- const_reverse_header_lines_iterator(
+ explicit const_reverse_header_lines_iterator(
const const_header_lines_iterator& it) :
reverse_iterator_base(it.headers_, it.idx_) {}
« no previous file with comments | « net/test/base_test_server.h ('k') | net/tools/flip_server/spdy_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698