diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2015-05-23 00:42:43 +0200 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2015-05-26 15:38:54 +0200 |
commit | 90045f8f205c4b91e7804c268e55ae985b1ba4e3 (patch) | |
tree | 7ff227204345da95a16d96648066140ad96be50f /src/inc/ceegen.h | |
parent | 2e7885d43ffbae93891fac2313ac5450be661435 (diff) | |
download | coreclr-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/ceegen.h')
-rw-r--r-- | src/inc/ceegen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inc/ceegen.h b/src/inc/ceegen.h index 13e1524601..8846780278 100644 --- a/src/inc/ceegen.h +++ b/src/inc/ceegen.h @@ -215,6 +215,9 @@ class CCeeGen : public ICeeGen, ICeeGenInternal { CCeeGen(); public: + + virtual ~CCeeGen() {} + static HRESULT CreateNewInstance(CCeeGen* & pCeeFileGen); // call this to instantiate virtual HRESULT Cleanup(); |