summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 18:26:13 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:26 +0100
commitd5286b646247dda00d28967784da6a817be68f7d (patch)
tree1b606db5d3c0d72165315b1eefab310eed5ae00e /slideshow
parentaf3b870ab6acc747285a6be67e5e2cf587215250 (diff)
WaE: deleting object of abstract class type with non-virtual destructor
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx4
-rw-r--r--slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
index 8f10a856cefa..88e205674cf0 100644
--- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
@@ -272,6 +272,10 @@ SceneObject::SceneObject()
{
}
+SceneObject::~SceneObject()
+{
+}
+
Iris::Iris()
: SceneObject ()
{
diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx
index 934ac1284d0b..945658873191 100644
--- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx
+++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx
@@ -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);