-Werror,-Wdelete-non-virtual-dtor

"thumbviewer.cxx(168,9) :  error: delete called on 'StreamOnZipBuffer' that has
virtual functions but non-virtual destructor"

Change-Id: I34510d54b9a99d8f1f9e8da0236625023c3fd94c
This commit is contained in:
Stephan Bergmann 2015-11-27 09:35:53 +01:00
parent b98febded4
commit 9c49ece604

View File

@ -117,7 +117,7 @@ namespace internal
}
}
class StreamOnZipBuffer : public IStream
class StreamOnZipBuffer final : public IStream
{
public:
StreamOnZipBuffer(const ZipFile::ZipContentBuffer_t& zip_buffer);