C++ style: We don't allow designated initializers

Bug: None
Change-Id: Ib23b72e89b1db1eb363f4f7da040045174dd70d7
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176407
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31419}
This commit is contained in:
Karl Wiberg 2020-06-03 10:33:25 +02:00 committed by Commit Bot
parent e2e8c17cbf
commit 878808892d

View File

@ -31,6 +31,10 @@ WebRTC is written in C++14, but with some restrictions:
[chromium-cpp]: https://chromium-cpp.appspot.com/ [chromium-cpp]: https://chromium-cpp.appspot.com/
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 ### Abseil
You may use a subset of the utilities provided by the [Abseil][abseil] You may use a subset of the utilities provided by the [Abseil][abseil]