diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
commit | 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch) | |
tree | aebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/render | |
parent | 4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff) | |
download | plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2 plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip |
Add missing override keywords.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/graphicsdef.hpp | 6 | ||||
-rw-r--r-- | src/render/imagegraphics.h | 4 | ||||
-rw-r--r-- | src/render/safeopenglgraphics.h | 2 | ||||
-rw-r--r-- | src/render/surfacegraphics.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/render/graphicsdef.hpp b/src/render/graphicsdef.hpp index ffa6d12c0..fb90c2fb4 100644 --- a/src/render/graphicsdef.hpp +++ b/src/render/graphicsdef.hpp @@ -27,11 +27,11 @@ public: */ void drawImageRect(int x, int y, int w, int h, - const ImageRect &imgRect); + const ImageRect &imgRect) override final; - void beginDraw(); + void beginDraw() override final; - void endDraw(); + void endDraw() override final; void pushClipArea(const Rect &area) override final; diff --git a/src/render/imagegraphics.h b/src/render/imagegraphics.h index a208d675f..8957543d4 100644 --- a/src/render/imagegraphics.h +++ b/src/render/imagegraphics.h @@ -128,7 +128,7 @@ class ImegeGraphics final : public Graphics override final { } - void updateScreen() + void updateScreen() override final { } SDL_Surface *getScreenshot() override final A_WARN_UNUSED @@ -193,7 +193,7 @@ class ImegeGraphics final : public Graphics */ void drawImageRect(const int x A_UNUSED, const int y A_UNUSED, const int w A_UNUSED, const int h A_UNUSED, - const ImageRect &imgRect A_UNUSED) + const ImageRect &imgRect A_UNUSED) override final { } protected: diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h index fbb359002..04bf478a3 100644 --- a/src/render/safeopenglgraphics.h +++ b/src/render/safeopenglgraphics.h @@ -50,7 +50,7 @@ class SafeOpenGLGraphics final : public Graphics ~SafeOpenGLGraphics(); - void testDraw(); + void testDraw() override final; #include "render/graphicsdef.hpp" diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h index f03392448..4a12f54d8 100644 --- a/src/render/surfacegraphics.h +++ b/src/render/surfacegraphics.h @@ -132,7 +132,7 @@ class SurfaceGraphics final : public Graphics override final { } - void updateScreen() + void updateScreen() override final { } SDL_Surface *getScreenshot() override final A_WARN_UNUSED @@ -203,7 +203,7 @@ class SurfaceGraphics final : public Graphics */ void drawImageRect(const int x A_UNUSED, const int y A_UNUSED, const int w A_UNUSED, const int h A_UNUSED, - const ImageRect &imgRect A_UNUSED) + const ImageRect &imgRect A_UNUSED) override final { } protected: |