From e066ec2e038405621a7de50e4cd735e548eb488d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 00:16:37 +0300 Subject: Delete copy constructor in some classes. --- src/graphics.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/graphics.h') diff --git a/src/graphics.h b/src/graphics.h index efe5d56b5..076633269 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -55,6 +55,11 @@ static const int defaultScreenHeight = 600; class ImageRect final { public: + ImageRect() + { } + + A_DELETE_COPY(ImageRect); + enum ImagePosition { UPPER_LEFT = 0, @@ -88,6 +93,8 @@ class Graphics : public gcn::SDLGraphics */ Graphics(); + A_DELETE_COPY(Graphics); + /** * Destructor. */ -- cgit v1.2.3-70-g09d2