diff options
| author | Yifan Hong <elsk@google.com> | 2021-03-22 19:21:34 -0700 |
|---|---|---|
| committer | Yifan Hong <elsk@google.com> | 2021-03-22 19:30:59 -0700 |
| commit | 07e947fc5d70773e508f21924776c9ec80fb7849 (patch) | |
| tree | 118670d88b5bb242c17003c5755b126e4a925fdc /base/errors_unix.cpp | |
| 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
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
