From e7e0756c92b425553f1579341ee378871235e00c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Apr 2013 17:39:46 +0300 Subject: improve subimage class. --- src/resources/subimage.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 NULL 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; -- cgit v1.2.3-70-g09d2