gfe-relnote: (n/a) Change QUIC frame structs to use default member initializer instead of member initializer list. No behavior change.
PiperOrigin-RevId: 307598459
Change-Id: If71260113ae44917e74c358c80085a9dcf6fda2a
diff --git a/quic/core/frames/quic_new_token_frame.h b/quic/core/frames/quic_new_token_frame.h
index 0491477..abb0eec 100644
--- a/quic/core/frames/quic_new_token_frame.h
+++ b/quic/core/frames/quic_new_token_frame.h
@@ -9,13 +9,14 @@
#include <ostream>
#include "net/third_party/quiche/src/quic/core/quic_buffer_allocator.h"
+#include "net/third_party/quiche/src/quic/core/quic_constants.h"
#include "net/third_party/quiche/src/quic/core/quic_types.h"
#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
namespace quic {
struct QUIC_EXPORT_PRIVATE QuicNewTokenFrame {
- QuicNewTokenFrame();
+ QuicNewTokenFrame() = default;
QuicNewTokenFrame(QuicControlFrameId control_frame_id, std::string token);
friend QUIC_EXPORT_PRIVATE std::ostream& operator<<(
@@ -24,7 +25,7 @@
// A unique identifier of this control frame. 0 when this frame is received,
// and non-zero when sent.
- QuicControlFrameId control_frame_id;
+ QuicControlFrameId control_frame_id = kInvalidControlFrameId;
std::string token;
};