commit | a51a3dd5603daf3d368b7735067e1d9eb54c4c40 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Oct 17 15:19:26 2011 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Oct 17 15:28:15 2011 -0700 |
tree | 2b2acdfa4743b5f28fa2c40364d5b029ebac1ede | |
parent | 6a21982c960c8fb92ece0483c5b5b6047b0a7f77 [diff] [blame] |
Add missing 'explicit's on single-argument constructors. Change-Id: I1494df6e74ec16238971fb4346ba184eb61c37ab
diff --git a/src/zip_archive.h b/src/zip_archive.h index 13a22cc..acf18b0 100644 --- a/src/zip_archive.h +++ b/src/zip_archive.h
@@ -113,7 +113,7 @@ } private: - ZipArchive(int fd) : fd_(fd), num_entries_(0), dir_offset_(0) {} + explicit ZipArchive(int fd) : fd_(fd), num_entries_(0), dir_offset_(0) {} bool MapCentralDirectory(); bool Parse();