From 71f88c02f79a1164430eec1de3e15edec011a15e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Sep 2013 18:35:21 +0300 Subject: improve construcors in abstract classes. Also add some missing final to classes. --- src/render/graphics.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/render/graphics.h') 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) @@ -379,6 +375,11 @@ class Graphics : public gcn::Graphics int mHeight; protected: + /** + * Constructor. + */ + Graphics(); + /** * Blits an image onto the screen. * -- cgit v1.2.3-60-g2f50