summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
commite066ec2e038405621a7de50e4cd735e548eb488d (patch)
tree626e7ddacf867949a5380bfe528a332dffada5a4 /src/graphics.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadmanaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h7
1 files changed, 7 insertions, 0 deletions
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.
*/