Fix QuicVersion MSVC compilation for Envoy

Envoy reported a compilation issue with MSVC:
https://github.com/envoyproxy/envoy/issues/10239

It appears that what we were doing before was technically undefined C++ behavior, so this CL switches use to using initialization lists which are allowed since C++11.

This fix was developed thanks to Godbolt:
https://godbolt.org/z/2jcJC4

gfe-relnote: n/a, no behavior change, not flag protected
PiperOrigin-RevId: 301199417
Change-Id: I00aedb74d5699001cab023adaba9cc1114c53f17
1 file changed
tree: 0241c937655c9c03dfa705518950d21d87ee9797
  1. common/
  2. epoll_server/
  3. http2/
  4. quic/
  5. spdy/
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

QUICHE

QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects.