summarylogtreecommitdiffstats
path: root/fix-dtor-call.patch
blob: db3d33794d58dbb66562fc93c533991324b46e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From c2ef0939ffa56dca0c923d7f484b69e30de205d2 Mon Sep 17 00:00:00 2001
From: "John Chen (CLR)" <jochen@microsoft.com>
Date: Wed, 21 Sep 2016 10:58:39 -0700
Subject: [PATCH] Fix OS X build break with AppleClang 8.0.0

Fixes issue #7275
---
 src/pal/src/include/pal/sharedmemory.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/pal/src/include/pal/sharedmemory.h b/src/pal/src/include/pal/sharedmemory.h
index 475cd70..45cc4b2 100644
--- a/src/pal/src/include/pal/sharedmemory.h
+++ b/src/pal/src/include/pal/sharedmemory.h
@@ -182,6 +182,10 @@ class SharedMemoryProcessDataBase
     virtual void Close(bool isAbruptShutdown, bool releaseSharedData)
     {
     }
+
+    virtual ~SharedMemoryProcessDataBase()
+    {
+    }
 };
 
 class SharedMemoryProcessDataHeader