summaryrefslogtreecommitdiff
path: root/fastboot/socket.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-29 15:44:04 -0700
committerChih-Hung Hsieh <chh@google.com>2016-04-29 15:44:04 -0700
commit1c563d96f000876d77b2d33fbfb03c241bc503e1 (patch)
tree2b4938eda86ade588cc77bbee202075d3f659bb4 /fastboot/socket.cpp
parent3abd03232efd53bb3a73d1e76f6f72754457e18d (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: I4504e98a8db31e0edcbe63c23f9af43eb13e9d86
Diffstat (limited to 'fastboot/socket.cpp')
-rw-r--r--fastboot/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/socket.cpp b/fastboot/socket.cpp
index 14ecd937a..e56ffcf4b 100644
--- a/fastboot/socket.cpp
+++ b/fastboot/socket.cpp
@@ -167,7 +167,7 @@ ssize_t UdpSocket::Receive(void* data, size_t length, int timeout_ms) {
// Implements the Socket interface for TCP.
class TcpSocket : public Socket {
public:
- TcpSocket(cutils_socket_t sock) : Socket(sock) {}
+ explicit TcpSocket(cutils_socket_t sock) : Socket(sock) {}
bool Send(const void* data, size_t length) override;
bool Send(std::vector<cutils_socket_buffer_t> buffers) override;