summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2019-11-07 13:56:50 +0900
committer Jiyong Park <jiyong@google.com> 2019-11-07 14:02:16 +0900
commit53955b2b0b30d7b1c703d0ee250e965833c9b3b8 (patch)
treecbdce8fb826c73282120d2303b1347833487310f /vulkan/libvulkan/api.cpp
parent0b5ac42f5bd65fbe76fbc4b01dec7d8c5144ea7e (diff)
Add comparison operators for ParcelFileDescriptor
With I9f833d0c1a91c8ec72b1cd80007b2f2c09205435, the AIDL C++ compiler creates comparison operators for structured parcelables. That implies that each member of a structure parcelable should also has the comparison operators defined. That assumption breaks when ParcelFileDescriptor is used as a member, because ParcelFileDescriptor does not define the comparison operators. Fixing the issue by adding them, which delegates the comparisons to the internal unique_fd field. Bug: 143712561 Test: apply ag/9646381 and `m libincremental_aidl-cpp` Change-Id: Ibc11eafa268e03dc30f321d692f43c0a99a6af1c
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions