commit | 08c2ddb3dbe12f1d2b9200d6d6f4bd9d19df2062 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Mon Oct 08 18:13:39 2018 +0900 |
committer | Jiyong Park <jiyong@google.com> | Wed Oct 10 11:45:54 2018 +0900 |
tree | 1171609b808bdf3f9fa1de2a48c54f037774a30d | |
parent | 562d525c2ab1dfc12d05694175634f047242a2d7 [diff] |
ParcelFileDescriptor is movable Add a move constructor to ParcelFileDescriptor. This is required to be able to something like vector<ParcelFileDescriptor> fds; fds.push_back(ParcelFileDescriptor(std::move(unique_fd(open("some_file"))))); Bug: 115607973 Test: system/tools/aidl/runtests.sh Change-Id: If8186500b528984c3718310c37694a3936905dfb