commit | c4c0e392e365c582b2df9ec81c1f5753944fbad5 | [log] [tgz] |
---|---|---|
author | dschinazi <dschinazi@google.com> | Mon Mar 16 11:22:09 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 16 11:22:52 2020 -0700 |
tree | 0241c937655c9c03dfa705518950d21d87ee9797 | |
parent | f929323a8667e85d34845bdd3302709d1fa043bb [diff] |
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