From d8f5fd4edb0efe61c1b23e451564d2563aa9ec69 Mon Sep 17 00:00:00 2001 From: Ryan Prichard Date: Thu, 27 Jun 2024 23:08:13 -0700 Subject: [PATCH] bootstat: avoid vector A container of const T uses std::allocator, which was an undocumented libc++ extension that has been removed. See https://github.com/llvm/llvm-project/pull/96319. Bug: 349681543 Test: m bootstat Change-Id: Id338f439aa4caf8c9f3c6fc15faef19b1edc4368 --- bootstat/bootstat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index d402bf17b..d476d36a9 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -499,7 +499,7 @@ int32_t BootReasonStrToEnum(const std::string& boot_reason) { } // Canonical list of supported primary reboot reasons. -const std::vector knownReasons = { +const std::vector knownReasons = { // clang-format off // kernel "watchdog",