summaryrefslogtreecommitdiffstats
path: root/libutils/tests/StrongPointer_test.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-07-29 17:01:17 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-07-29 17:01:17 +0000
commit89cc78b77ff162d061a4bb0cc920c48a1ac3ed91 (patch)
tree466ea17fd124a6b52e3b5c0d4fe661927732d29b /libutils/tests/StrongPointer_test.cpp
parent6d287b3de7245061d7917852063064bbf281ed57 (diff)
parent6dc68cb5f97a2f4fd3e0d105f34cd29dd73e0da5 (diff)
downloadsystem_core-89cc78b77ff162d061a4bb0cc920c48a1ac3ed91.tar.gz
system_core-89cc78b77ff162d061a4bb0cc920c48a1ac3ed91.tar.bz2
system_core-89cc78b77ff162d061a4bb0cc920c48a1ac3ed91.zip
Merge \"Fix google-explicit-constructor warnings in system/core.\"
am: 6dc68cb5f9 Change-Id: I5a010465364b6e14423b19e8c0f9cffa58ee3152
Diffstat (limited to 'libutils/tests/StrongPointer_test.cpp')
-rw-r--r--libutils/tests/StrongPointer_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/tests/StrongPointer_test.cpp b/libutils/tests/StrongPointer_test.cpp
index f46d6d140..323a6f20a 100644
--- a/libutils/tests/StrongPointer_test.cpp
+++ b/libutils/tests/StrongPointer_test.cpp
@@ -23,7 +23,7 @@ using namespace android;
class Foo : public LightRefBase<Foo> {
public:
- Foo(bool* deleted_check) : mDeleted(deleted_check) {
+ explicit Foo(bool* deleted_check) : mDeleted(deleted_check) {
*mDeleted = false;
}