diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-04-29 15:44:04 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-04-29 15:44:04 -0700 |
commit | 1c563d96f000876d77b2d33fbfb03c241bc503e1 (patch) | |
tree | 2b4938eda86ade588cc77bbee202075d3f659bb4 /fastboot/usb_linux.cpp | |
parent | 3abd03232efd53bb3a73d1e76f6f72754457e18d (diff) |
Fix google-explicit-constructor warnings.
Bug: 28341362
Change-Id: I4504e98a8db31e0edcbe63c23f9af43eb13e9d86
Diffstat (limited to 'fastboot/usb_linux.cpp')
-rw-r--r-- | fastboot/usb_linux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/usb_linux.cpp b/fastboot/usb_linux.cpp index d4824fb2a..6db1e2727 100644 --- a/fastboot/usb_linux.cpp +++ b/fastboot/usb_linux.cpp @@ -89,7 +89,7 @@ struct usb_handle class LinuxUsbTransport : public Transport { public: - LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} + explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} ~LinuxUsbTransport() override = default; ssize_t Read(void* data, size_t len) override; |