summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipUtils.cpp
diff options
context:
space:
mode:
author Chih-hung Hsieh <chh@google.com> 2016-04-28 18:47:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-04-28 18:47:00 +0000
commit6e35557ad34a9722c27a70b30930104c2f36f78b (patch)
tree9c5006ca3f4864bbf6c9b901bba8468ded4ca897 /libs/androidfw/ZipUtils.cpp
parent3f0355f972fe6a0d069024ff30188314a79fcc55 (diff)
parentc6baf563ba6aa207a48317c177b29f1d2b70cf3d (diff)
Merge "Fix google-explicit-constructor warnings."
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])
{
}