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

Commit 9f160cb8 authored by Ryan Prichard's avatar Ryan Prichard
Browse files

libstagefright_aidl_bufferpool2: avoid list<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 libstagefright_aidl_bufferpool2
Change-Id: I6491377d6275c5d18cd91b40184d6f05cff7cb9a
parent f28b8e80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ void Accessor::evictorThread(
        std::map<const std::weak_ptr<Accessor>, nsecs_t, std::owner_less<>> &accessors,
        std::mutex &mutex,
        std::condition_variable &cv) {
    std::list<const std::weak_ptr<Accessor>> evictList;
    std::list<std::weak_ptr<Accessor>> evictList;
    while (true) {
        int expired = 0;
        int evicted = 0;