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/party.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/party.h') 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. -- cgit v1.2.3-70-g09d2