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/net_if.cpp b/libc/bionic/net_if.cpp index f8d73bd..db9c9ea2 100644 --- a/libc/bionic/net_if.cpp +++ b/libc/bionic/net_if.cpp
@@ -77,7 +77,7 @@ if_list* next; struct if_nameindex data; - if_list(if_list** list) { + explicit if_list(if_list** list) { // push_front onto `list`. next = *list; *list = this;