diff --git a/btgui/OpenGLWindow/fontstash.h b/btgui/OpenGLWindow/fontstash.h index 3159444de..940bb7856 100644 --- a/btgui/OpenGLWindow/fontstash.h +++ b/btgui/OpenGLWindow/fontstash.h @@ -101,6 +101,7 @@ struct sth_texture struct RenderCallbacks { + virtual ~RenderCallbacks() {} virtual void updateTexture(sth_texture* texture, sth_glyph* glyph, int textureWidth, int textureHeight)=0; virtual void render(sth_texture* texture)=0; }; diff --git a/src/BulletSoftBody/btSoftBody.h b/src/BulletSoftBody/btSoftBody.h index ee1a3d952..bd5846bfb 100644 --- a/src/BulletSoftBody/btSoftBody.h +++ b/src/BulletSoftBody/btSoftBody.h @@ -171,6 +171,7 @@ public: /* ImplicitFn */ struct ImplicitFn { + virtual ~ImplicitFn() {} virtual btScalar Eval(const btVector3& x)=0; }; @@ -528,6 +529,7 @@ public: { struct IControl { + virtual ~IControl() {} virtual void Prepare(AJoint*) {} virtual btScalar Speed(AJoint*,btScalar current) { return(current); } static IControl* Default() { static IControl def;return(&def); }