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

Unified Diff: net/tools/quic/quic_dispatcher.h

Issue 988963002: Add 'explicit' to the PacketWriterFactoryAdapter constructor, as (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Adds_an_assert_87837841
Patch Set: Created 5 years, 9 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/quic/quic_dispatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher.h
diff --git a/net/tools/quic/quic_dispatcher.h b/net/tools/quic/quic_dispatcher.h
index f94639aef0352865d011b1bf7633abdd7b776683..fb9df23478c4653beb0c8cf52b07b6a3297878df 100644
--- a/net/tools/quic/quic_dispatcher.h
+++ b/net/tools/quic/quic_dispatcher.h
@@ -198,7 +198,7 @@ class QuicDispatcher : public QuicServerSessionVisitor,
class PacketWriterFactoryAdapter :
public QuicConnection::PacketWriterFactory {
public:
- PacketWriterFactoryAdapter(QuicDispatcher* dispatcher);
+ explicit PacketWriterFactoryAdapter(QuicDispatcher* dispatcher);
~PacketWriterFactoryAdapter() override;
QuicPacketWriter* Create(QuicConnection* connection) const override;
« no previous file with comments | « net/quic/quic_dispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698