Fix compilation warning.

Fix compilation warning:
" destination for this 'memcpy' call is a pointer to dynamic class
'CentralDirEntry'; vtable pointer will be overwritten"
by removing unnecessary virtual desctructor.

Bug: 27695718
Change-Id: Id3c451f82374f2232176115b7bc3291ac4275c00
This commit is contained in:
Ying Wang 2016-03-17 14:44:42 -07:00
parent 450f15111c
commit 0c38bc5762

View file

@ -290,7 +290,7 @@ private:
mExtraField(NULL),
mFileComment(NULL)
{}
virtual ~CentralDirEntry(void) {
~CentralDirEntry(void) {
delete[] mFileName;
delete[] mExtraField;
delete[] mFileComment;