Allow designated initializers in WebRTC

to align with chromium and google style guides

Bug: None
Change-Id: I92e1bb6d187eac6b531d495aedb8176f66186a5f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251689
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36002}
This commit is contained in:
Danil Chapovalov 2022-02-14 13:37:31 +01:00 committed by WebRTC LUCI CQ
parent 599002c905
commit 23bb9d75fc

View File

@ -30,10 +30,6 @@ WebRTC is written in C++17, but with some restrictions:
[chr-style-cpp]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md
Unlike the Chromium and Google C++ style guides, we do not allow C++20-style
designated initializers, because we want to stay compatible with compilers that
do not yet support them.
### Abseil
You may use a subset of the utilities provided by the [Abseil][abseil] library