Skip to content

Commit fce22a4

Browse files
committed
binder: 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 llvm.org/PR96319. Bug: http://b/349681543 Test: m libbinder_on_trusty_mock Test: m MODULES-IN-frameworks-native Change-Id: Ibdd9b30c6e913b0785250b2a034ca3b193355032
1 parent 30b1a88 commit fce22a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/binder/trusty/include/binder/RpcServerTrusty.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class RpcServerTrusty final : public virtual RefBase {
4242
// equivalent.
4343
struct PortAcl {
4444
uint32_t flags;
45-
std::vector<const uuid> uuids;
45+
std::vector<uuid> uuids;
4646
const void* extraData;
4747
};
4848

0 commit comments

Comments
 (0)