diff options
author | Elliott Hughes <enh@google.com> | 2012-06-21 12:09:25 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-06-21 13:04:41 -0700 |
commit | a21039c3ae2b20e44ceb2735251c04d0aac89afd (patch) | |
tree | 66b6fa437e7e4286b50bdef224500f9049633701 /src/zip_archive.h | |
parent | 3d9d49fa2d025a041f57ea306ea551ef990177db (diff) | |
download | art-a21039c3ae2b20e44ceb2735251c04d0aac89afd.zip art-a21039c3ae2b20e44ceb2735251c04d0aac89afd.tar.gz art-a21039c3ae2b20e44ceb2735251c04d0aac89afd.tar.bz2 |
Fix a bunch more lint.
(If you ignore the compilers, we've got relatively little lint now. Fits on
a single screen.)
Change-Id: I51389002894d4fd8cf46f79d2bac57079322a030
Diffstat (limited to 'src/zip_archive.h')
-rw-r--r-- | src/zip_archive.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zip_archive.h b/src/zip_archive.h index cda3522..d7a8d80 100644 --- a/src/zip_archive.h +++ b/src/zip_archive.h @@ -42,7 +42,6 @@ class ZipEntry { uint32_t GetCrc32(); private: - ZipEntry(const ZipArchive* zip_archive, const byte* ptr) : zip_archive_(zip_archive), ptr_(ptr) {} // Zip compression methods @@ -65,11 +64,11 @@ class ZipEntry { const byte* ptr_; friend class ZipArchive; + DISALLOW_COPY_AND_ASSIGN(ZipEntry); }; class ZipArchive { public: - // Zip file constants. static const uint32_t kEOCDSignature = 0x06054b50; static const int32_t kEOCDLen = 22; @@ -122,6 +121,8 @@ class ZipArchive { DirEntries dir_entries_; friend class ZipEntry; + + DISALLOW_COPY_AND_ASSIGN(ZipArchive); }; } // namespace art |