From 4f7e38d218848bd34bd86dda75446881dad2bb32 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 Jun 2014 17:58:07 +0300 Subject: Fix compilation with some options. --- src/resources/surfaceimagehelper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/surfaceimagehelper.h') diff --git a/src/resources/surfaceimagehelper.h b/src/resources/surfaceimagehelper.h index 3e595009e..dd8e416cb 100644 --- a/src/resources/surfaceimagehelper.h +++ b/src/resources/surfaceimagehelper.h @@ -56,13 +56,13 @@ class SurfaceImageHelper 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, const int width, const int height, const float alpha) - const override final A_WARN_UNUSED; + override final A_WARN_UNUSED; static void SDLSetEnableAlphaCache(const bool n) { mEnableAlphaCache = n; } -- cgit v1.2.3-70-g09d2