Cleanup uses of QUIC version
This CL gets us closer to being able to turn ParsedQuicVersion into a class. It does not change any behavior.
No behavior change
PiperOrigin-RevId: 323895265
Change-Id: I940f8ce54e0c62efab485da1140f623a51b245d7
diff --git a/quic/core/quic_packets.cc b/quic/core/quic_packets.cc
index 2098bfe..6ffa39a 100644
--- a/quic/core/quic_packets.cc
+++ b/quic/core/quic_packets.cc
@@ -559,7 +559,7 @@
version_flag(false),
use_length_prefix(false),
version_label(0),
- version(PROTOCOL_UNSUPPORTED, QUIC_VERSION_UNSUPPORTED),
+ version(ParsedQuicVersion::Unsupported()),
destination_connection_id(EmptyQuicConnectionId()),
source_connection_id(EmptyQuicConnectionId()) {}