summaryrefslogtreecommitdiff
path: root/src/playerrelations.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/playerrelations.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
plus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
plus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
plus-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r--src/playerrelations.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h
index 6b2ed62d5..a2f2a8d08 100644
--- a/src/playerrelations.h
+++ b/src/playerrelations.h
@@ -64,6 +64,8 @@ struct PlayerRelation final
PlayerRelation(const Relation relation);
+ A_DELETE_COPY(PlayerRelation);
+
Relation mRelation; // bitmask for all of the above
};
@@ -108,6 +110,9 @@ class PlayerRelationsManager final
{
public:
PlayerRelationsManager();
+
+ A_DELETE_COPY(PlayerRelationsManager);
+
~PlayerRelationsManager();
/**