commit | 09a5c6e39c7cbf0fa4f02a8dcf02e5ff7ea05a2b | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Thu Jun 27 23:42:58 2024 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Fri Jun 28 00:52:38 2024 -0700 |
tree | 5d7d611e8243295321bbd4f75cc91802fcdaf887 | |
parent | afc86da706c21f3a8998116f4859f816da6fec28 [diff] [blame] |
libcameraservice: 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 libcameraservice Change-Id: Ib3ae6b55c4e95cd458e190511a59e8d0459cf16a
diff --git a/services/camera/libcameraservice/api2/CameraDeviceClient.cpp b/services/camera/libcameraservice/api2/CameraDeviceClient.cpp index 508d487..8a2c07f 100644 --- a/services/camera/libcameraservice/api2/CameraDeviceClient.cpp +++ b/services/camera/libcameraservice/api2/CameraDeviceClient.cpp
@@ -292,7 +292,7 @@ } List<const CameraDeviceBase::PhysicalCameraSettingsList> metadataRequestList; - std::list<const SurfaceMap> surfaceMapList; + std::list<SurfaceMap> surfaceMapList; submitInfo->mRequestId = mRequestIdCounter; uint32_t loopCounter = 0;