commit | 07e947fc5d70773e508f21924776c9ec80fb7849 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 22 19:21:34 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Mar 22 19:30:59 2021 -0700 |
tree | 118670d88b5bb242c17003c5755b126e4a925fdc | |
parent | 58532dfacda14411216888a10f3f9c4a5a7b121e [diff] |
fastboot device: Disallow implicit conversion from unique_fd to int. Do not use the implicit cast from unique_fd to int so that it is clearer to the reader what the ownership model is. Test: pass Change-Id: I66563eb2bd06f6a712a5afd4c6009f9b25a55de6