[Scummvm-git-logs] scummvm master -> 160ec4bfe52de27056096a06a48d8796a917c05f
sev-
noreply at scummvm.org
Sun May 4 05:53:48 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
160ec4bfe5 IMAGE: Added missing override keywords
Commit: 160ec4bfe52de27056096a06a48d8796a917c05f
https://github.com/scummvm/scummvm/commit/160ec4bfe52de27056096a06a48d8796a917c05f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-05-04T07:53:32+02:00
Commit Message:
IMAGE: Added missing override keywords
Changed paths:
image/iff.h
image/pcx.h
image/tga.h
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
More information about the Scummvm-git-logs
mailing list