commit | 1c563d96f000876d77b2d33fbfb03c241bc503e1 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Apr 29 15:44:04 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Apr 29 15:44:04 2016 -0700 |
tree | 2b4938eda86ade588cc77bbee202075d3f659bb4 | |
parent | 3abd03232efd53bb3a73d1e76f6f72754457e18d [diff] [blame] |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: I4504e98a8db31e0edcbe63c23f9af43eb13e9d86
diff --git a/adb/fdevent.cpp b/adb/fdevent.cpp index 902548e..04cd865 100644 --- a/adb/fdevent.cpp +++ b/adb/fdevent.cpp
@@ -55,7 +55,7 @@ fdevent* fde; adb_pollfd pollfd; - PollNode(fdevent* fde) : fde(fde) { + explicit PollNode(fdevent* fde) : fde(fde) { memset(&pollfd, 0, sizeof(pollfd)); pollfd.fd = fde->fd;