diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
commit | 3dcf21babe03cee5080a25e787e1d7e72124288e (patch) | |
tree | 7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/graphicsvertexes.h | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r-- | src/graphicsvertexes.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h index b5140aa52..e13623650 100644 --- a/src/graphicsvertexes.h +++ b/src/graphicsvertexes.h @@ -43,13 +43,13 @@ #include <list> #include <vector> -struct DoubleRect +struct DoubleRect final { SDL_Rect src; SDL_Rect dst; }; -class SDLGraphicsVertexes +class SDLGraphicsVertexes final { public: SDLGraphicsVertexes(); @@ -60,11 +60,11 @@ class SDLGraphicsVertexes }; #ifdef USE_OPENGL -class SafeOpenGLGraphicsVertexes +class SafeOpenGLGraphicsVertexes final { }; -class NormalOpenGLGraphicsVertexes +class NormalOpenGLGraphicsVertexes final { public: NormalOpenGLGraphicsVertexes(); @@ -117,7 +117,7 @@ class NormalOpenGLGraphicsVertexes typedef std::vector<DoubleRect*> DoubleRects; -class ImageVertexes +class ImageVertexes final { public: ImageVertexes(); @@ -132,7 +132,7 @@ class ImageVertexes #endif }; -class GraphicsVertexes +class GraphicsVertexes final { public: GraphicsVertexes(); |