From 866a71ffd576fd10c4e309195016d86f0c8ed635 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Sep 2012 21:58:08 +0300 Subject: Add const to more classes. --- src/resources/subimage.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/resources/subimage.h') 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 /** -- cgit v1.2.3-60-g2f50