summaryrefslogtreecommitdiff
path: root/src/resources/sdl2imagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdl2imagehelper.h')
-rw-r--r--src/resources/sdl2imagehelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h
index 296b50f8a..0ffeee7ae 100644
--- a/src/resources/sdl2imagehelper.h
+++ b/src/resources/sdl2imagehelper.h
@@ -54,7 +54,7 @@ class SDLImageHelper final : public ImageHelper
/**
* Loads an image from an SDL surface.
*/
- Image *load(SDL_Surface *const tmpImage) const
+ Image *load(SDL_Surface *const tmpImage)
override final A_WARN_UNUSED;
Image *createTextSurface(SDL_Surface *const tmpImage,
@@ -83,7 +83,7 @@ class SDLImageHelper final : public ImageHelper
protected:
/** SDL_Surface to SDL_Surface Image loader */
- Image *_SDLload(SDL_Surface *tmpImage) const A_WARN_UNUSED;
+ Image *_SDLload(SDL_Surface *tmpImage) A_WARN_UNUSED;
static bool mEnableAlphaCache;
#ifdef USE_SDL2