From 9c49ece604ae70a166fa032397fe5c904283c8a7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Nov 2015 09:35:53 +0100 Subject: -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 --- shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx index 3062f8402966..8d929e87e1e5 100644 --- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx +++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx @@ -117,7 +117,7 @@ namespace internal } } -class StreamOnZipBuffer : public IStream +class StreamOnZipBuffer final : public IStream { public: StreamOnZipBuffer(const ZipFile::ZipContentBuffer_t& zip_buffer); -- cgit