From 812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:18:34 +0300 Subject: add final keyword to resources files. --- src/resources/sdlimagehelper.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/resources/sdlimagehelper.h') diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h index c73287edf..f7bd4b3c2 100644 --- a/src/resources/sdlimagehelper.h +++ b/src/resources/sdlimagehelper.h @@ -62,17 +62,17 @@ class SDLImageHelper final : public ImageHelper * otherwise. */ Image *load(SDL_RWops *const rw, - Dye const &dye) const override A_WARN_UNUSED; + Dye const &dye) const override final A_WARN_UNUSED; /** * Loads an image from an SDL surface. */ - Image *load(SDL_Surface *const tmpImage) const override A_WARN_UNUSED; + Image *load(SDL_Surface *const tmpImage) const override final A_WARN_UNUSED; Image *createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, const float alpha) - const override A_WARN_UNUSED; + const override final A_WARN_UNUSED; static void SDLSetEnableAlphaCache(const bool n) { mEnableAlphaCache = n; } @@ -83,7 +83,8 @@ class SDLImageHelper final : public ImageHelper static SDL_Surface* SDLDuplicateSurface(SDL_Surface *const tmpImage) A_WARN_UNUSED; - SDL_Surface *create32BitSurface(int width, int height) const override; + SDL_Surface *create32BitSurface(int width, + int height) const override final; static int combineSurface(SDL_Surface *const src, SDL_Rect *const srcrect, -- cgit v1.2.3-60-g2f50