diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-06 17:58:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-06 17:58:07 +0300 |
commit | 4f7e38d218848bd34bd86dda75446881dad2bb32 (patch) | |
tree | 3333e686b0d0a579b8151fac0d0faa235f4e145b /src/resources/surfaceimagehelper.h | |
parent | c649cf883480071c9b93909c4ea4ee5ec98155b2 (diff) | |
download | ManaVerse-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.gz ManaVerse-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.bz2 ManaVerse-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.xz ManaVerse-4f7e38d218848bd34bd86dda75446881dad2bb32.zip |
Fix compilation with some options.
Diffstat (limited to 'src/resources/surfaceimagehelper.h')
-rw-r--r-- | src/resources/surfaceimagehelper.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |