| commit | bfaaa8881c37d56ae696666d4ee02f6126d95af9 | [log] [tgz] |
|---|---|---|
| author | Björn Terelius <terelius@webrtc.org> | Thu Aug 14 12:21:39 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 15 06:02:02 2025 |
| tree | ac3c6784ec1aa200333cc82541fb0e65fb6f82c8 | |
| parent | 3d4bae08b2b44835ab25612e0cd60e2aff982b1e [diff] |
Replace erase-remove idiom with `std::erase` and `std::erase_if`. This change updates various parts of WebRTC to use the more concise `std::erase` and `std::erase_if` functions, available since C++20, instead of the traditional erase-remove idiom. This also fixes a few bugs or error-prone constructs where the single element erase was used. Bug: webrtc:438403372 Change-Id: I19b4f3188aafa4542a11c8dafcca6f2f82e541a3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/404320 Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45344}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.