diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:34 +0300 |
commit | 812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71 (patch) | |
tree | 29bc5f4eccb55a1b2d805676aa0dc12b7020bb14 /src/resources/surfaceimagehelper.h | |
parent | af2677411d895573cf9bc225518d6a1a16079863 (diff) | |
download | manaverse-812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71.tar.gz manaverse-812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71.tar.bz2 manaverse-812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71.tar.xz manaverse-812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71.zip |
add final keyword to resources files.
Diffstat (limited to 'src/resources/surfaceimagehelper.h')
-rw-r--r-- | src/resources/surfaceimagehelper.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/resources/surfaceimagehelper.h b/src/resources/surfaceimagehelper.h index dbc859e9a..75a39c617 100644 --- a/src/resources/surfaceimagehelper.h +++ b/src/resources/surfaceimagehelper.h @@ -63,17 +63,18 @@ class SurfaceImageHelper 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; } @@ -85,12 +86,13 @@ class SurfaceImageHelper final : public ImageHelper * Tells if the image was loaded using OpenGL or SDL * @return true if OpenGL, false if SDL. */ - RenderType useOpenGL() const override A_WARN_UNUSED; + RenderType useOpenGL() const override final A_WARN_UNUSED; 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, |