From 4893dbe7f1114d6c5e55279ec987ddb20792893d Mon Sep 17 00:00:00 2001 From: Joe Mason Date: Thu, 16 Sep 2021 19:11:56 -0400 Subject: [PATCH] Update link to Chromium Modern C++ style guide Bug: chromium:1243839 Change-Id: I4a914eec78c919347a65be4d5b5fc6447408bc39 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/232260 Commit-Queue: Joe Mason Reviewed-by: Danil Chapovalov Cr-Commit-Position: refs/heads/main@{#35028} --- g3doc/style-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g3doc/style-guide.md b/g3doc/style-guide.md index 06f8e0e0ae..69f758a174 100644 --- a/g3doc/style-guide.md +++ b/g3doc/style-guide.md @@ -28,11 +28,11 @@ both. WebRTC is written in C++14, but with some restrictions: * We only allow the subset of C++14 (language and library) that is not banned by - Chromium; see the [list of banned C++ features in Chromium][chromium-cpp]. + Chromium; see the [list of banned C++ features in Chromium][chr-style-cpp]. * We only allow the subset of C++14 that is also valid C++17; otherwise, users would not be able to compile WebRTC in C++17 mode. -[chromium-cpp]: https://chromium-cpp.appspot.com/ +[chr-style-cpp]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++11.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