Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8f5fd4e authored by Ryan Prichard's avatar Ryan Prichard
Browse files

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
parent 8d9b33d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",