summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipUtils.cpp
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/androidfw/ZipUtils.cpp
parentcd4f7e12037acd16f500dc9a4be98e51fe58a11b (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: Ibdd6a210bb7ff228e3624cc319169f77aca3b51e
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
-rw-r--r--libs/androidfw/ZipUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/androidfw/ZipUtils.cpp b/libs/androidfw/ZipUtils.cpp
index 6fa0f14ecb8e..5abfc8ee917e 100644
--- a/libs/androidfw/ZipUtils.cpp
+++ b/libs/androidfw/ZipUtils.cpp
@@ -150,7 +150,7 @@ bail:
class FileReader {
public:
- FileReader(FILE* fp) :
+ explicit FileReader(FILE* fp) :
mFp(fp), mReadBuf(new unsigned char[kReadBufSize])
{
}
@@ -170,7 +170,7 @@ public:
class FdReader {
public:
- FdReader(int fd) :
+ explicit FdReader(int fd) :
mFd(fd), mReadBuf(new unsigned char[kReadBufSize])
{
}