From 9f160cb80799fcde526409048b50d4b8b1ef7ad6 Mon Sep 17 00:00:00 2001 From: Ryan Prichard Date: Thu, 27 Jun 2024 22:33:21 -0700 Subject: [PATCH] libstagefright_aidl_bufferpool2: avoid list 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 libstagefright_aidl_bufferpool2 Change-Id: I6491377d6275c5d18cd91b40184d6f05cff7cb9a --- media/bufferpool/aidl/default/Accessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/bufferpool/aidl/default/Accessor.cpp b/media/bufferpool/aidl/default/Accessor.cpp index 423fd84391..81e8eac21d 100644 --- a/media/bufferpool/aidl/default/Accessor.cpp +++ b/media/bufferpool/aidl/default/Accessor.cpp @@ -444,7 +444,7 @@ void Accessor::evictorThread( std::map, nsecs_t, std::owner_less<>> &accessors, std::mutex &mutex, std::condition_variable &cv) { - std::list> evictList; + std::list> evictList; while (true) { int expired = 0; int evicted = 0;