summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
commit71f88c02f79a1164430eec1de3e15edec011a15e (patch)
tree6a0772ee943a41314b5abd92fed0ce269faced27 /src/render
parent6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (diff)
downloadplus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.gz
plus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.bz2
plus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.xz
plus-71f88c02f79a1164430eec1de3e15edec011a15e.zip
improve construcors in abstract classes.
Also add some missing final to classes.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/graphics.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 12df83aef..fa2416750 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -97,10 +97,6 @@ class ImageRect final
class Graphics : public gcn::Graphics
{
public:
- /**
- * Constructor.
- */
- Graphics();
A_DELETE_COPY(Graphics)
@@ -380,6 +376,11 @@ class Graphics : public gcn::Graphics
protected:
/**
+ * Constructor.
+ */
+ Graphics();
+
+ /**
* Blits an image onto the screen.
*
* @return <code>true</code> if the image was blitted properly