diff options
author | 2016-04-28 18:54:09 +0000 | |
---|---|---|
committer | 2016-04-28 18:54:09 +0000 | |
commit | 1599b981fae5e606713e6c9a1698a7e36ef5ae09 (patch) | |
tree | d66ff4dc82f0d43351e39a9192a82e140dc8ccb6 /libs/androidfw/ZipUtils.cpp | |
parent | b7dd1026f3ee076a5620aeb09125719147c99116 (diff) | |
parent | 6e35557ad34a9722c27a70b30930104c2f36f78b (diff) |
Merge "Fix google-explicit-constructor warnings."
am: 6e35557
* commit '6e35557ad34a9722c27a70b30930104c2f36f78b':
Fix google-explicit-constructor warnings.
Change-Id: Idadc45b465a1d767154d2f0cb7412ce897cf1378
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
-rw-r--r-- | libs/androidfw/ZipUtils.cpp | 4 |
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]) { } |