-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_containers: Add methods to erase by item
Currently the `erase` methods of lists and maps accept iterators, and in the latter case, keys. This CL adds an overload that also takes an item. This improves the usability of these containers. Change-Id: Id13f0a7c0c89daa5e361c14c3bc891f7612c5a4d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/243257 Reviewed-by: Wyatt Hepler <[email protected]> Commit-Queue: Aaron Green <[email protected]> Lint: Lint 🤖 <[email protected]> Docs-Not-Needed: Aaron Green <[email protected]>
- Loading branch information
1 parent
03eff3c
commit bde3f80
Showing
6 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters