From 2ad44a2ea6338a5fc498f2ba08b324c0153d5053 Mon Sep 17 00:00:00 2001 From: Kevin Watts Date: Thu, 16 Oct 2014 13:46:58 -0700 Subject: [PATCH] Adding destructor to GraphicsPhysicsBridge --- btgui/Bullet3AppSupport/CommonPhysicsSetup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/btgui/Bullet3AppSupport/CommonPhysicsSetup.h b/btgui/Bullet3AppSupport/CommonPhysicsSetup.h index 0c818b9dc..1e0f4e46e 100644 --- a/btgui/Bullet3AppSupport/CommonPhysicsSetup.h +++ b/btgui/Bullet3AppSupport/CommonPhysicsSetup.h @@ -15,6 +15,7 @@ class btDiscreteDynamicsWorld; ///The GraphicsPhysicsBridge let's the graphics engine create graphics representation and synchronize struct GraphicsPhysicsBridge { + virtual ~GraphicsPhysicsBridge() {} virtual void createRigidBodyGraphicsObject(btRigidBody* body,const btVector3& color) {