diff --git a/image/iff.h b/image/iff.h index 56d4c60e2ad..7a14c822b62 100644 --- a/image/iff.h +++ b/image/iff.h @@ -82,8 +82,8 @@ public: virtual ~IFFDecoder(); // ImageDecoder API - void destroy(); - bool loadStream(Common::SeekableReadStream &stream); + void destroy() override; + bool loadStream(Common::SeekableReadStream &stream) override; const Header *getHeader() const { return &_header; } const Graphics::Surface *getSurface() const override { return _surface; } const Graphics::Palette &getPalette() const override { return _palette; } diff --git a/image/pcx.h b/image/pcx.h index 42c7e1c21cd..1e43741fcd7 100644 --- a/image/pcx.h +++ b/image/pcx.h @@ -54,8 +54,8 @@ public: virtual ~PCXDecoder(); // ImageDecoder API - void destroy(); - virtual bool loadStream(Common::SeekableReadStream &stream); + void destroy() override; + virtual bool loadStream(Common::SeekableReadStream &stream) override; const Graphics::Surface *getSurface() const override { return _surface; } const Graphics::Palette &getPalette() const override { return _palette; } diff --git a/image/tga.h b/image/tga.h index f99f00465d7..8f19d0f22d3 100644 --- a/image/tga.h +++ b/image/tga.h @@ -67,10 +67,10 @@ class TGADecoder : public ImageDecoder { public: TGADecoder(); virtual ~TGADecoder(); - virtual void destroy(); + virtual void destroy() override; const Graphics::Surface *getSurface() const override { return &_surface; } const Graphics::Palette &getPalette() const override { return _colorMap; } - virtual bool loadStream(Common::SeekableReadStream &stream); + virtual bool loadStream(Common::SeekableReadStream &stream) override; private: // Format-spec from: //http://www.ludorg.net/amnesia/TGA_File_Format_Spec.html