From a37f35695c21106d49ce7a3991e9cddd487e9eda Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 1 Sep 2019 07:45:02 +0100 Subject: XEEN: Add Virtual Destructor to SpritesDrawer Base Class This is required to avoid GCC Compiler Warnings from -Wnon-virtual-dtor --- engines/xeen/sprites.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/xeen') diff --git a/engines/xeen/sprites.h b/engines/xeen/sprites.h index c19a7baff0..4cf9579f87 100644 --- a/engines/xeen/sprites.h +++ b/engines/xeen/sprites.h @@ -196,6 +196,11 @@ public: */ SpriteDrawer(byte *data, size_t filesize) : _data(data), _filesize(filesize) {} + /** + * Destructor + */ + virtual ~SpriteDrawer() {} + /** * Draw a sprite frame based on a passed offset into the data stream */ -- cgit v1.2.3