From 2ad44a2ea6338a5fc498f2ba08b324c0153d5053 Mon Sep 17 00:00:00 2001 From: Kevin Watts Date: Thu, 16 Oct 2014 13:46:58 -0700 Subject: [PATCH 1/2] 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) { From 0910eb9f726204c6a8fbfd746f28d7acbc8a30c0 Mon Sep 17 00:00:00 2001 From: Kevin Watts Date: Thu, 16 Oct 2014 13:49:31 -0700 Subject: [PATCH 2/2] Virtual dtor for CommonParameterInterface --- btgui/Bullet3AppSupport/CommonParameterInterface.h | 1 + 1 file changed, 1 insertion(+) diff --git a/btgui/Bullet3AppSupport/CommonParameterInterface.h b/btgui/Bullet3AppSupport/CommonParameterInterface.h index 55acc3e94..db9bd7e40 100644 --- a/btgui/Bullet3AppSupport/CommonParameterInterface.h +++ b/btgui/Bullet3AppSupport/CommonParameterInterface.h @@ -33,6 +33,7 @@ struct SliderParams struct CommonParameterInterface { + virtual ~CommonParameterInterface() {} virtual void registerSliderFloatParameter(SliderParams& params)=0; virtual void syncParameters()=0; virtual void removeAllParameters()=0;