ProxyShape must have a virtual destructor

This commit is contained in:
Daniel Chappuis 2016-05-15 19:29:50 +02:00
parent 3109b4e8da
commit 6a8b63adc2

View File

@ -102,7 +102,7 @@ class ProxyShape {
const Transform& transform, decimal mass);
/// Destructor
~ProxyShape();
virtual ~ProxyShape();
/// Return the collision shape
const CollisionShape* getCollisionShape() const;