Skip to content

Commit

Permalink
xrPhysycs: fix linux linkage virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Jul 29, 2018
1 parent 171db8e commit 3a891e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/xrPhysics/IColisiondamageInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ICollisionDamageInfo
#if defined(WINDOWS)
virtual ~ICollisionDamageInfo() = 0 {}
#elif defined(LINUX)
virtual ~ICollisionDamageInfo() = 0;
virtual ~ICollisionDamageInfo() {}
#endif
};
#endif
2 changes: 1 addition & 1 deletion src/xrPhysics/IElevatorState.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ class IElevatorState
#if defined(WINDOWS)
virtual ~IElevatorState() = 0 {}
#elif defined(LINUX)
virtual ~IElevatorState() = 0;
virtual ~IElevatorState() {}
#endif
};
2 changes: 1 addition & 1 deletion src/xrPhysics/IPHCapture.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class IPHCapture
#if defined(WINDOWS)
virtual ~IPHCapture() = 0 {}
#elif defined(LINUX)
virtual ~IPHCapture() = 0;
virtual ~IPHCapture() {}
#endif
};
class CPHCharacter;
Expand Down
4 changes: 2 additions & 2 deletions src/xrPhysics/IPHStaticGeomShell.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ class IPHStaticGeomShell
#if defined(WINDOWS)
virtual ~IPHStaticGeomShell() = 0 {}
#elif defined(LINUX)
virtual ~IPHStaticGeomShell() = 0;
virtual ~IPHStaticGeomShell() {}
#endif

// virtual void set_ObjectContactCallback (ObjectContactCallbackFun* callback);
};

Expand Down
2 changes: 1 addition & 1 deletion src/xrPhysics/iphysics_scripted.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class iphysics_scripted_class
#if defined(WINDOWS)
virtual ~iphysics_scripted_class() = 0 {}
#elif defined(LINUX)
virtual ~iphysics_scripted_class() = 0;
virtual ~iphysics_scripted_class() {}
#endif
#endif
};
Expand Down

0 comments on commit 3a891e9

Please sign in to comment.