summaryrefslogtreecommitdiff
path: root/src/inc/pesectionman.h
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2015-05-23 00:42:43 +0200
committerJan Vorlicek <janvorli@microsoft.com>2015-05-26 15:38:54 +0200
commit90045f8f205c4b91e7804c268e55ae985b1ba4e3 (patch)
tree7ff227204345da95a16d96648066140ad96be50f /src/inc/pesectionman.h
parent2e7885d43ffbae93891fac2313ac5450be661435 (diff)
downloadcoreclr-90045f8f205c4b91e7804c268e55ae985b1ba4e3.tar.gz
coreclr-90045f8f205c4b91e7804c268e55ae985b1ba4e3.tar.bz2
coreclr-90045f8f205c4b91e7804c268e55ae985b1ba4e3.zip
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.
Diffstat (limited to 'src/inc/pesectionman.h')
-rw-r--r--src/inc/pesectionman.h5
1 files changed, 4 insertions, 1 deletions
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,