From 76bd8cfad1f9dd7e1e61c69132dc02ec75e5ee8f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Dec 2013 14:00:29 +0300 Subject: add final keyword to some renderers classes and remove useless virtual keywords. --- src/render/surfacegraphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/surfacegraphics.h') 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; } -- cgit v1.2.3-70-g09d2