summaryrefslogtreecommitdiff
path: root/libutils/RefBase.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-29 15:44:04 -0700
committerChih-Hung Hsieh <chh@google.com>2016-04-29 15:44:04 -0700
commit1c563d96f000876d77b2d33fbfb03c241bc503e1 (patch)
tree2b4938eda86ade588cc77bbee202075d3f659bb4 /libutils/RefBase.cpp
parent3abd03232efd53bb3a73d1e76f6f72754457e18d (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: I4504e98a8db31e0edcbe63c23f9af43eb13e9d86
Diffstat (limited to 'libutils/RefBase.cpp')
-rw-r--r--libutils/RefBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/RefBase.cpp b/libutils/RefBase.cpp
index ea1e4db84..22162fac7 100644
--- a/libutils/RefBase.cpp
+++ b/libutils/RefBase.cpp
@@ -71,7 +71,7 @@ public:
#if !DEBUG_REFS
- weakref_impl(RefBase* base)
+ explicit weakref_impl(RefBase* base)
: mStrong(INITIAL_STRONG_VALUE)
, mWeak(0)
, mBase(base)