File tree Expand file tree Collapse file tree 5 files changed +21
-0
lines changed Expand file tree Collapse file tree 5 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ class ICollisionDamageInfo
18
18
virtual bool GetAndResetInitiated () = 0;
19
19
20
20
protected:
21
+ #if defined(WINDOWS)
22
+ virtual ~ICollisionDamageInfo () = 0 {}
23
+ #elif defined(LINUX)
21
24
virtual ~ICollisionDamageInfo () = 0 ;
25
+ #endif
22
26
};
23
27
#endif
Original file line number Diff line number Diff line change @@ -19,5 +19,9 @@ class IElevatorState
19
19
virtual void NetRelcase (IPhysicsShellHolder* O) = 0;
20
20
21
21
protected:
22
+ #if defined(WINDOWS)
23
+ virtual ~IElevatorState () = 0 {}
24
+ #elif defined(LINUX)
22
25
virtual ~IElevatorState () = 0 ;
26
+ #endif
23
27
};
Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ class IPHCapture
8
8
virtual void Release () = 0;
9
9
10
10
protected:
11
+ #if defined(WINDOWS)
12
+ virtual ~IPHCapture () = 0 {}
13
+ #elif defined(LINUX)
11
14
virtual ~IPHCapture () = 0 ;
15
+ #endif
12
16
};
13
17
class CPHCharacter ;
14
18
struct NearestToPointCallback ;
Original file line number Diff line number Diff line change 3
3
class IPHStaticGeomShell
4
4
{
5
5
protected:
6
+ #if defined(WINDOWS)
7
+ virtual ~IPHStaticGeomShell () = 0 {}
8
+ #elif defined(LINUX)
6
9
virtual ~IPHStaticGeomShell () = 0 ;
10
+ #endif
11
+
7
12
// virtual void set_ObjectContactCallback (ObjectContactCallbackFun* callback);
8
13
};
9
14
Original file line number Diff line number Diff line change @@ -32,8 +32,12 @@ class iphysics_scripted_class
32
32
#ifdef _EDITOR
33
33
virtual ~iphysics_scripted_class () {}
34
34
#else
35
+ #if defined(WINDOWS)
36
+ virtual ~iphysics_scripted_class () = 0 {}
37
+ #elif defined(LINUX)
35
38
virtual ~iphysics_scripted_class () = 0 ;
36
39
#endif
40
+ #endif
37
41
};
38
42
39
43
namespace non_copy
You can’t perform that action at this time.
0 commit comments