diff --git a/include/osgParticle/ExplosionDebrisEffect b/include/osgParticle/ExplosionDebrisEffect index 38641d88f..4d62a9232 100644 --- a/include/osgParticle/ExplosionDebrisEffect +++ b/include/osgParticle/ExplosionDebrisEffect @@ -43,6 +43,8 @@ namespace osgParticle protected: + virtual ~ExplosionDebrisEffect() {} + osg::ref_ptr _emitter; osg::ref_ptr _program; diff --git a/include/osgParticle/ExplosionEffect b/include/osgParticle/ExplosionEffect index 60f8120c1..9d7a12cb0 100644 --- a/include/osgParticle/ExplosionEffect +++ b/include/osgParticle/ExplosionEffect @@ -43,6 +43,8 @@ namespace osgParticle protected: + virtual ~ExplosionEffect() {} + osg::ref_ptr _emitter; osg::ref_ptr _program; diff --git a/include/osgParticle/FireEffect b/include/osgParticle/FireEffect index 2cd58c167..e6537832e 100644 --- a/include/osgParticle/FireEffect +++ b/include/osgParticle/FireEffect @@ -42,6 +42,8 @@ namespace osgParticle virtual const Program* getProgram() const { return _program.get(); } protected: + + virtual ~FireEffect() {} osg::ref_ptr _emitter; osg::ref_ptr _program; diff --git a/include/osgParticle/ParticleEffect b/include/osgParticle/ParticleEffect index e8ce10090..79cfe0354 100644 --- a/include/osgParticle/ParticleEffect +++ b/include/osgParticle/ParticleEffect @@ -92,6 +92,8 @@ namespace osgParticle protected: + virtual ~ParticleEffect() {} + osg::ref_ptr _particleSystem; bool _useLocalParticleSystem; diff --git a/include/osgParticle/SmokeEffect b/include/osgParticle/SmokeEffect index a084f5a09..e068d70b5 100644 --- a/include/osgParticle/SmokeEffect +++ b/include/osgParticle/SmokeEffect @@ -43,6 +43,8 @@ namespace osgParticle protected: + virtual ~SmokeEffect() {} + osg::ref_ptr _emitter; osg::ref_ptr _program; diff --git a/include/osgParticle/SmokeTrailEffect b/include/osgParticle/SmokeTrailEffect index 9c2cd54c2..0eefd93f2 100644 --- a/include/osgParticle/SmokeTrailEffect +++ b/include/osgParticle/SmokeTrailEffect @@ -43,6 +43,8 @@ namespace osgParticle protected: + virtual ~SmokeTrailEffect() {} + osg::ref_ptr _emitter; osg::ref_ptr _program;