From 43c30e75a143011d28c312a710e7218d32780308 Mon Sep 17 00:00:00 2001 From: Jonathon Reinhart Date: Thu, 29 Aug 2024 16:34:12 +0000 Subject: [PATCH] Revert "pw_containers: Warn about unsafe Vector usage" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 44287c6af4399458f40315706157192e87fb9ace. Reason for revert: b/313899658 is marked as Fixed. Original change's description: > pw_containers: Warn about unsafe Vector usage > > Bug: b/313899658 > Change-Id: I59694ca28e807e1fc277746cb0930f599becda7b > Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/182970 > Presubmit-Verified: CQ Bot Account > Commit-Queue: Ted Pudlik > Reviewed-by: Aaron Green Bug: b/313899658 Change-Id: I1fc0e890790a366994453a63a418c82d397705ac Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/232651 Commit-Queue: Jonathon Reinhart Reviewed-by: Ted Pudlik Reviewed-by: Jonathon Reinhart Lint: Lint 🤖 --- pw_containers/docs.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pw_containers/docs.rst b/pw_containers/docs.rst index fc5b8f6fac..ac02f327fc 100644 --- a/pw_containers/docs.rst +++ b/pw_containers/docs.rst @@ -19,12 +19,6 @@ size in a variable. This allows Vectors to be used without having to know their maximum size at compile time. It also keeps code size small since function implementations are shared for all maximum sizes. -.. admonition:: Non-trivially-destructible, self-referencing types - - ``pw::Vector`` is not safe to use with non-trivially-destructible, - self-referencing types. See `b/313899658 - `_. - --------------- pw::InlineDeque ---------------