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/vm/typeparse.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/vm/typeparse.h') 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 -- cgit v1.2.3