roll: third_party/pigweed pw_buf: Disallow construction from `0` ConstBuf and Buf can be constructed from nullptr. However, a literal 0 is equivalent to nullptr, so `Buf buf = 0` is valid. Since this conversion is implicit, APIs that accept Buf/ConstBuf would accept 0. This is confusing, especially if the function has integer-accepting overloads. Ban construction from 0, while continuing to allow construction from nullptr, like std::unique_ptr or std::optional. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/497013 Original-Revision: 1ade98c29af1924d4701bdffd47686a0198d5b12 Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: 9893a457c35249..1ade98c29af192 Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8668530664069846289 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Idc30edd01c34deb0520567c6ef93e6192ee8c1fb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/497813
diff --git a/third_party/pigweed b/third_party/pigweed index 9893a45..1ade98c 160000 --- a/third_party/pigweed +++ b/third_party/pigweed
@@ -1 +1 @@ -Subproject commit 9893a457c35249d8c770c615bfd6fa82cbbdd17c +Subproject commit 1ade98c29af1924d4701bdffd47686a0198d5b12