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/vm/typestring.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/vm/typestring.h')
-rw-r--r-- | src/vm/typestring.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vm/typestring.h b/src/vm/typestring.h index 0987fbfa44..7f60f932cc 100644 --- a/src/vm/typestring.h +++ b/src/vm/typestring.h @@ -174,7 +174,8 @@ public: virtual HRESULT __stdcall Clear(); TypeNameBuilderWrapper() : m_ref(0) { WRAPPER_NO_CONTRACT; } - + virtual ~TypeNameBuilderWrapper() {} + private: LONG m_ref; TypeNameBuilder m_tnb; |