From f24ddad3fa0f843eb29a281426151cf1a5f31f4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Sep 2012 23:47:11 +0300 Subject: add const to more classes, fix other small style issues. --- src/resources/sdlimagehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/sdlimagehelper.cpp') diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index 216d39390..9a1822e32 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -210,7 +210,7 @@ SDL_Surface* SDLImageHelper::SDLDuplicateSurface(SDL_Surface *const tmpImage) return SDL_ConvertSurface(tmpImage, tmpImage->format, SDL_SWSURFACE); } -Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage) +Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage) const { if (!tmpImage) return nullptr; -- cgit v1.2.3-60-g2f50