[osg-users] No virtual destructor in osgAnimation::StackedRotateAxisElement. Why?

2011-07-25 Thread George Bekos
Hello everyone! :D I have a simple question. I want to inherit my class from osgAnimation::StackedRotateAxisElement but I realized that there is no virtual destructor in the class. Why? Because it is not needed because the class does not allocate anything from the heap? Or because it is a bad

Re: [osg-users] No virtual destructor in osgAnimation::StackedRotateAxisElement. Why?

2011-07-25 Thread Jean-Sébastien Guay
Hello George, I want to inherit my class from osgAnimation::StackedRotateAxisElement but I realized that there is no virtual destructor in the class. Why? Because it is not needed because the class does not allocate anything from the heap? Or because it is a bad practice to inherit from this