summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipUtils.cpp
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2016-04-28 12:08:15 -0700
committer Chih-Hung Hsieh <chh@google.com> 2016-04-28 12:08:15 -0700
commit85e0c89ba55188ecc484538efbfdb570606fc1a2 (patch)
tree9e5d618c4446b2e4933b2035b77c8fb846062f93 /libs/androidfw/ZipUtils.cpp
parent237790ec48e83d1623ce44dd968e15059121df56 (diff)
parent1599b981fae5e606713e6c9a1698a7e36ef5ae09 (diff)
resolve merge conflicts of 1599b981 to nyc-dev-plus-aosp
Change-Id: I90807581e10b6a0024515ff634ac8b29eaa5fc9f
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])
{
}