From 90045f8f205c4b91e7804c268e55ae985b1ba4e3 Mon Sep 17 00:00:00 2001 From: Jan Vorlicek Date: Sat, 23 May 2015 00:42:43 +0200 Subject: Fix the virtual destructor warning This change changes destructors to be virtual or adds virtual ones where they were missing based on the clang warnings. --- src/inc/pesectionman.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/inc/pesectionman.h') diff --git a/src/inc/pesectionman.h b/src/inc/pesectionman.h index ad5daf60f2..5f767b964b 100644 --- a/src/inc/pesectionman.h +++ b/src/inc/pesectionman.h @@ -22,6 +22,9 @@ struct _IMAGE_SECTION_HEADER; class PESectionMan { public: + + virtual ~PESectionMan() {} + HRESULT Init(); HRESULT Cleanup(); @@ -147,7 +150,7 @@ class PESection : public CeeSectionImpl { // Cause the section to allocate memory in smaller chunks void SetInitialGrowth(unsigned growth); - ~PESection(); + virtual ~PESection(); private: // purposely not defined, -- cgit v1.2.3