summaryrefslogtreecommitdiff
path: root/src/vm/typeparse.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/vm/typeparse.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/vm/typeparse.h')
-rw-r--r--src/vm/typeparse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vm/typeparse.h b/src/vm/typeparse.h
index d56b8b0c3f..f242d71f31 100644
--- a/src/vm/typeparse.h
+++ b/src/vm/typeparse.h
@@ -79,6 +79,8 @@ public:
WRAPPER_NO_CONTRACT;
SString::Startup();
}
+
+ virtual ~TypeNameFactory() {}
private:
DWORD m_count;
@@ -310,7 +312,7 @@ public:
parser.MakeRotorHappy();
}
- ~TypeName();
+ virtual ~TypeName();
public:
#ifndef FEATURE_CORECLR