Skip to content

Commit 3a891e9

Browse files
committed
xrPhysycs: fix linux linkage virtual destructor
1 parent 171db8e commit 3a891e9

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/xrPhysics/IColisiondamageInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ICollisionDamageInfo
2121
#if defined(WINDOWS)
2222
virtual ~ICollisionDamageInfo() = 0 {}
2323
#elif defined(LINUX)
24-
virtual ~ICollisionDamageInfo() = 0;
24+
virtual ~ICollisionDamageInfo() {}
2525
#endif
2626
};
2727
#endif

src/xrPhysics/IElevatorState.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ class IElevatorState
2222
#if defined(WINDOWS)
2323
virtual ~IElevatorState() = 0 {}
2424
#elif defined(LINUX)
25-
virtual ~IElevatorState() = 0;
25+
virtual ~IElevatorState() {}
2626
#endif
2727
};

src/xrPhysics/IPHCapture.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class IPHCapture
1111
#if defined(WINDOWS)
1212
virtual ~IPHCapture() = 0 {}
1313
#elif defined(LINUX)
14-
virtual ~IPHCapture() = 0;
14+
virtual ~IPHCapture() {}
1515
#endif
1616
};
1717
class CPHCharacter;

src/xrPhysics/IPHStaticGeomShell.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ class IPHStaticGeomShell
66
#if defined(WINDOWS)
77
virtual ~IPHStaticGeomShell() = 0 {}
88
#elif defined(LINUX)
9-
virtual ~IPHStaticGeomShell() = 0;
9+
virtual ~IPHStaticGeomShell() {}
1010
#endif
11-
11+
1212
// virtual void set_ObjectContactCallback (ObjectContactCallbackFun* callback);
1313
};
1414

src/xrPhysics/iphysics_scripted.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class iphysics_scripted_class
3535
#if defined(WINDOWS)
3636
virtual ~iphysics_scripted_class() = 0 {}
3737
#elif defined(LINUX)
38-
virtual ~iphysics_scripted_class() = 0;
38+
virtual ~iphysics_scripted_class() {}
3939
#endif
4040
#endif
4141
};

0 commit comments

Comments
 (0)