Kaydet (Commit) d5286b64 authored tarafından David Tardon's avatar David Tardon

WaE: deleting object of abstract class type with non-virtual destructor

üst af3b870a
......@@ -272,6 +272,10 @@ SceneObject::SceneObject()
{
}
SceneObject::~SceneObject()
{
}
Iris::Iris()
: SceneObject ()
{
......
......@@ -176,6 +176,7 @@ class SceneObject
{
public:
SceneObject();
virtual ~SceneObject();
virtual void prepare() {};
virtual void display(double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment