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/tests/sys_ptrace_test.cpp b/tests/sys_ptrace_test.cpp index bd84d30..9071acf 100644 --- a/tests/sys_ptrace_test.cpp +++ b/tests/sys_ptrace_test.cpp
@@ -59,7 +59,7 @@ class ChildGuard { public: - ChildGuard(pid_t pid) : pid(pid) {} + explicit ChildGuard(pid_t pid) : pid(pid) {} ~ChildGuard() { kill(pid, SIGKILL);