[roll third_party/pigweed] pw_containers: Remove DestructorHelper from vector DestructorHelper was unsound: it would invoke `clear()` upon destruction of the base class after the child class containing the container storage had already been destroyed. This CL instead introduces an intermediate storage class specialized on trivially_destructible which implements the element-wise destruction. Additionally, this CL overrides `delete` privately in order to prevent calling `delete` on a polymorphic-sized container. Previously, calling `delete` in this way would result in undefined behavior due to the fact that the base class destructor was non-virtual. Original-Bug: b/301329862 Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/185521 https://pigweed.googlesource.com/pigweed/pigweed third_party/pigweed Rolled-Commits: fe8e3d2b5eda051..0d3bc4cadce10df Roller-URL: https://ci.chromium.org/b/8759713575374348497 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ibf663efd5299a7e3b8880a997202a1476051ea2c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/186916 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed index fe8e3d2..0d3bc4c 160000 --- a/third_party/pigweed +++ b/third_party/pigweed
@@ -1 +1 @@ -Subproject commit fe8e3d2b5eda0518a98db2ab346d4e450b530a73 +Subproject commit 0d3bc4cadce10df5d5295af67455a1dfed5f4bcf