summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-01 17:19:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-01 17:19:12 +0100
commit377bb64b543b5cae297f184edaeedab7e0d83658 (patch)
tree0ed87dcb4a82b8c48e56c67ac5b50a43a61157f7 /canvas
parent6d1a9af30eefe00dd8fc190a2434bc5c19d7584d (diff)
-Werror,-Wnon-virtual-dtor
Change-Id: Ibeed52359852451b800e083ddc4c221dea41a294
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_sprite.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/canvas/source/directx/dx_sprite.hxx b/canvas/source/directx/dx_sprite.hxx
index 2c014a5530df..680a75f7decf 100644
--- a/canvas/source/directx/dx_sprite.hxx
+++ b/canvas/source/directx/dx_sprite.hxx
@@ -37,6 +37,9 @@ namespace dxcanvas
restoreTextures() call failed.
*/
virtual void redraw() const = 0;
+
+ protected:
+ ~Sprite() {}
};
}