diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-15 14:00:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-15 14:00:29 +0300 |
commit | 76bd8cfad1f9dd7e1e61c69132dc02ec75e5ee8f (patch) | |
tree | 1aeaed7d8a8f16507572224cbd36cd2fc52b3289 /src/render/surfacegraphics.h | |
parent | 5546ac2f1a459b3fba47b42d546469cdae3c1c27 (diff) | |
download | mv-76bd8cfad1f9dd7e1e61c69132dc02ec75e5ee8f.tar.gz mv-76bd8cfad1f9dd7e1e61c69132dc02ec75e5ee8f.tar.bz2 mv-76bd8cfad1f9dd7e1e61c69132dc02ec75e5ee8f.tar.xz mv-76bd8cfad1f9dd7e1e61c69132dc02ec75e5ee8f.zip |
add final keyword to some renderers classes and remove useless virtual keywords.
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r-- | src/render/surfacegraphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h index 7a130dd30..a81ff590c 100644 --- a/src/render/surfacegraphics.h +++ b/src/render/surfacegraphics.h @@ -36,7 +36,7 @@ struct SDL_Surface; /** * A central point of control for graphics. */ -class SurfaceGraphics : public Graphics +class SurfaceGraphics final : public Graphics { public: enum BlitMode @@ -49,7 +49,7 @@ class SurfaceGraphics : public Graphics A_DELETE_COPY(SurfaceGraphics) - virtual ~SurfaceGraphics(); + ~SurfaceGraphics(); void setTarget(SDL_Surface *const target) { mTarget = target; } |