summaryrefslogtreecommitdiff
path: root/src/item.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/item.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadmv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
mv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
mv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
mv-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index bc5ed9098..be35e0b17 100644
--- a/src/item.h
+++ b/src/item.h
@@ -27,6 +27,8 @@
#include <map>
+#include "localconsts.h"
+
class Image;
/**
@@ -42,6 +44,8 @@ class Item
const unsigned char color = 1, const bool equipment = false,
const bool equipped = false);
+ A_DELETE_COPY(Item);
+
/**
* Destructor.
*/