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/oat_file.h b/src/oat_file.h index 1d3367c..e83b294 100644 --- a/src/oat_file.h +++ b/src/oat_file.h
@@ -126,7 +126,7 @@ } private: - OatFile(const std::string& filename); + explicit OatFile(const std::string& filename); bool Read(const std::string& filename, byte* requested_base); const byte* GetBase() const;