Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_containers: Make Vector::at() use size_t
Unfortunately the size_type being different from size_t AND having the size() and max() functions return size_t makes it difficult to NOT use a size_t index when accessing the Vector. So, let's swing the other way and take a size_t index when accessing the Vector. Change-Id: Iea5d8600ae16294095f1c1085122485f0269066a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/215859 Reviewed-by: Wyatt Hepler <[email protected]> Lint: Lint 🤖 <[email protected]> Commit-Queue: Carlos Chinchilla <[email protected]>
- Loading branch information