Merge "libstagefright_aidl_bufferpool2: avoid list<const T>" into main am: 9c94c5c44b

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3151178

Change-Id: I7335cc3a5b30710a3dd3c18968488a2b8edb44d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ryan Prichard
2024-07-12 22:38:33 +00:00
committed by Automerger Merge Worker

View File

@@ -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;