summaryrefslogtreecommitdiff
path: root/src/party.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/party.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/party.h')
-rw-r--r--src/party.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/party.h b/src/party.h
index e4ae9dbff..0739184fc 100644
--- a/src/party.h
+++ b/src/party.h
@@ -35,6 +35,8 @@ class Party;
class PartyMember final : public Avatar
{
public:
+ A_DELETE_COPY(PartyMember);
+
Party *getParty() const
{ return mParty; }
@@ -56,6 +58,7 @@ protected:
class Party final : public AvatarListModel
{
public:
+ A_DELETE_COPY(Party);
/**
* Set the party's name.