summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/subimage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/subimage.h b/src/resources/subimage.h
index 1cb2835f7..c3bb1482e 100644
--- a/src/resources/subimage.h
+++ b/src/resources/subimage.h
@@ -71,7 +71,9 @@ class SubImage final : public Image
* @return <code>NULL</code> if creation failed and a valid
* image otherwise.
*/
- Image *getSubImage(int x, int y, int width, int height) A_WARN_UNUSED;
+ Image *getSubImage(const int x, const int y,
+ const int width,
+ const int height) override A_WARN_UNUSED;
SDL_Rect mInternalBounds;