From 6a8b63adc2006b128baf4888f1a20a05e27639ed Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Sun, 15 May 2016 19:29:50 +0200 Subject: [PATCH] ProxyShape must have a virtual destructor --- src/collision/ProxyShape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collision/ProxyShape.h b/src/collision/ProxyShape.h index b91252de..810c15e8 100644 --- a/src/collision/ProxyShape.h +++ b/src/collision/ProxyShape.h @@ -102,7 +102,7 @@ class ProxyShape { const Transform& transform, decimal mass); /// Destructor - ~ProxyShape(); + virtual ~ProxyShape(); /// Return the collision shape const CollisionShape* getCollisionShape() const;