From 5fbb4fc6a02855492d8e0ebc89911827c6517d84 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 16 Jan 2017 09:57:50 +0000 Subject: SWORD25: Fix Warnings about Copy Constructor Failing to Call Base Class. --- engines/sword25/gfx/image/renderedimage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword25') diff --git a/engines/sword25/gfx/image/renderedimage.h b/engines/sword25/gfx/image/renderedimage.h index e4d573f369..bd324a2fbc 100644 --- a/engines/sword25/gfx/image/renderedimage.h +++ b/engines/sword25/gfx/image/renderedimage.h @@ -45,7 +45,7 @@ namespace Sword25 { class RenderedImage : public Image { private: - RenderedImage(const RenderedImage &) : _doCleanup(false) {} + RenderedImage(const RenderedImage &) : Image(), _doCleanup(false) {} RenderedImage &operator=(const RenderedImage &) { return *this; } public: RenderedImage(const Common::String &filename, bool &result); -- cgit v1.2.3