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/udp.cpp | |
parent | 3abd03232efd53bb3a73d1e76f6f72754457e18d (diff) |
Fix google-explicit-constructor warnings.
Bug: 28341362
Change-Id: I4504e98a8db31e0edcbe63c23f9af43eb13e9d86
Diffstat (limited to 'fastboot/udp.cpp')
-rw-r--r-- | fastboot/udp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/udp.cpp b/fastboot/udp.cpp index b36bd605c..53fb3472f 100644 --- a/fastboot/udp.cpp +++ b/fastboot/udp.cpp @@ -111,7 +111,7 @@ class UdpTransport : public Transport { int Close() override; private: - UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} + explicit UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} // Performs the UDP initialization procedure. Returns true on success. bool InitializeProtocol(std::string* error); |