commit | 62e3a078aa7b156139b1a2cec77e1a84eb10c5a4 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue May 03 12:08:05 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue May 03 12:08:05 2016 -0700 |
tree | b37425943e0cd7284b319d6cad98bd71dcfdc8bb | |
parent | 9ee905f12fa0aeb4ae0df708e15d2ffcfaf58000 [diff] [blame] |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: I84effbdfa1b9b39328a909b7f70fe17e7ee316c8
diff --git a/libc/bionic/ifaddrs.cpp b/libc/bionic/ifaddrs.cpp index 408949c..f5b080c 100644 --- a/libc/bionic/ifaddrs.cpp +++ b/libc/bionic/ifaddrs.cpp
@@ -59,7 +59,7 @@ sockaddr_storage ifa_ifu; char name[IFNAMSIZ + 1]; - ifaddrs_storage(ifaddrs** list) { + explicit ifaddrs_storage(ifaddrs** list) { memset(this, 0, sizeof(*this)); // push_front onto `list`.