summaryrefslogtreecommitdiff
path: root/libs/storage
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-27 11:29:23 -0700
committerChih-Hung Hsieh <chh@google.com>2016-04-27 11:38:12 -0700
commitc6baf563ba6aa207a48317c177b29f1d2b70cf3d (patch)
tree38cb5ab3e8ce0ebe0bcdace644378ad037adb37f /libs/storage
parentcd4f7e12037acd16f500dc9a4be98e51fe58a11b (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: Ibdd6a210bb7ff228e3624cc319169f77aca3b51e
Diffstat (limited to 'libs/storage')
-rw-r--r--libs/storage/IMountService.cpp2
-rw-r--r--libs/storage/IObbActionListener.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/storage/IMountService.cpp b/libs/storage/IMountService.cpp
index c643ed008a3b..74638e7eccc3 100644
--- a/libs/storage/IMountService.cpp
+++ b/libs/storage/IMountService.cpp
@@ -55,7 +55,7 @@ enum {
class BpMountService: public BpInterface<IMountService>
{
public:
- BpMountService(const sp<IBinder>& impl)
+ explicit BpMountService(const sp<IBinder>& impl)
: BpInterface<IMountService>(impl)
{
}
diff --git a/libs/storage/IObbActionListener.cpp b/libs/storage/IObbActionListener.cpp
index 9656e655e22c..a71341bc1364 100644
--- a/libs/storage/IObbActionListener.cpp
+++ b/libs/storage/IObbActionListener.cpp
@@ -26,7 +26,7 @@ enum {
// This is a stub that real consumers should override.
class BpObbActionListener: public BpInterface<IObbActionListener> {
public:
- BpObbActionListener(const sp<IBinder>& impl)
+ explicit BpObbActionListener(const sp<IBinder>& impl)
: BpInterface<IObbActionListener>(impl)
{ }