diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-03 21:58:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-04 03:06:57 +0300 |
commit | 866a71ffd576fd10c4e309195016d86f0c8ed635 (patch) | |
tree | 21bbec175afc181cada529598267d62f12fcb671 /src/resources/subimage.h | |
parent | ebecb0cf42f2066943908fa158ac91527e0e6629 (diff) | |
download | ManaVerse-866a71ffd576fd10c4e309195016d86f0c8ed635.tar.gz ManaVerse-866a71ffd576fd10c4e309195016d86f0c8ed635.tar.bz2 ManaVerse-866a71ffd576fd10c4e309195016d86f0c8ed635.tar.xz ManaVerse-866a71ffd576fd10c4e309195016d86f0c8ed635.zip |
Add const to more classes.
Diffstat (limited to 'src/resources/subimage.h')
-rw-r--r-- | src/resources/subimage.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/resources/subimage.h b/src/resources/subimage.h index 1ff268288..4b5478b71 100644 --- a/src/resources/subimage.h +++ b/src/resources/subimage.h @@ -51,11 +51,12 @@ class SubImage : public Image /** * Constructor. */ - SubImage(Image *parent, SDL_Surface *image, - int x, int y, int width, int height); + SubImage(Image *const parent, SDL_Surface *const image, + const int x, const int y, const int width, const int height); #ifdef USE_OPENGL - SubImage(Image *parent, GLuint image, int x, int y, - int width, int height, int texWidth, int textHeight); + SubImage(Image *const parent, const GLuint image, + const int x, const int y, const int width, const int height, + const int texWidth, const int textHeight); #endif /** |