bootstat: avoid vector<const T>
A container of const T uses std::allocator<const T>, 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
This commit is contained in:
parent
8d9b33d649
commit
d8f5fd4edb
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ int32_t BootReasonStrToEnum(const std::string& boot_reason) {
|
|||
}
|
||||
|
||||
// Canonical list of supported primary reboot reasons.
|
||||
const std::vector<const std::string> knownReasons = {
|
||||
const std::vector<std::string> knownReasons = {
|
||||
// clang-format off
|
||||
// kernel
|
||||
"watchdog",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue