diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-16 17:39:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-16 17:39:46 +0300 |
commit | e7e0756c92b425553f1579341ee378871235e00c (patch) | |
tree | d27f6579ef0966f986ccb0b03e639593e5ffae98 /src | |
parent | 037ab342be37dafbbe97df3235c35721664e808f (diff) | |
download | mv-e7e0756c92b425553f1579341ee378871235e00c.tar.gz mv-e7e0756c92b425553f1579341ee378871235e00c.tar.bz2 mv-e7e0756c92b425553f1579341ee378871235e00c.tar.xz mv-e7e0756c92b425553f1579341ee378871235e00c.zip |
improve subimage class.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/subimage.h | 4 |
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; |