summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inc/utilcode.h2
-rw-r--r--src/vm/stubcache.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/inc/utilcode.h b/src/inc/utilcode.h
index b00515cdf3..6c5498f761 100644
--- a/src/inc/utilcode.h
+++ b/src/inc/utilcode.h
@@ -3400,7 +3400,7 @@ public:
m_iSize = iBuckets + 7;
}
- ~CClosedHashBase()
+ virtual ~CClosedHashBase()
{
WRAPPER_NO_CONTRACT;
Clear();
diff --git a/src/vm/stubcache.h b/src/vm/stubcache.h
index 781d46c8f5..b42ed16c25 100644
--- a/src/vm/stubcache.h
+++ b/src/vm/stubcache.h
@@ -50,7 +50,7 @@ public:
//---------------------------------------------------------
// Destructor
//---------------------------------------------------------
- ~StubCacheBase();
+ virtual ~StubCacheBase();
//---------------------------------------------------------
// Returns the equivalent hashed Stub, creating a new hash