summaryrefslogtreecommitdiff
path: root/src/being.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/being.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/being.h')
-rw-r--r--src/being.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index d16670dbb..37b752551 100644
--- a/src/being.h
+++ b/src/being.h
@@ -76,6 +76,8 @@ class BeingEquipBackend final : public Equipment::Backend
public:
BeingEquipBackend(Being *const being);
+ A_DELETE_COPY(BeingEquipBackend);
+
virtual ~BeingEquipBackend();
Item *getEquipment(const int index) const;
@@ -169,6 +171,8 @@ class Being : public ActorSprite, public ConfigListener
Being(const int id, const Type type, const uint16_t subtype,
Map *const map);
+ A_DELETE_COPY(Being);
+
virtual ~Being();
Type getType() const