summaryrefslogtreecommitdiff
path: root/src/particlecontainer.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/particlecontainer.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadmanaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/particlecontainer.h')
-rw-r--r--src/particlecontainer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/particlecontainer.h b/src/particlecontainer.h
index a40bf1ce9..550cc6389 100644
--- a/src/particlecontainer.h
+++ b/src/particlecontainer.h
@@ -47,6 +47,8 @@ public:
ParticleContainer(ParticleContainer *const parent = nullptr,
const bool delParent = true);
+ A_DELETE_COPY(ParticleContainer);
+
virtual ~ParticleContainer();
/**
@@ -78,6 +80,9 @@ class ParticleList final : public ParticleContainer
public:
ParticleList(ParticleContainer *const parent = nullptr,
const bool delParent = true);
+
+ A_DELETE_COPY(ParticleList);
+
virtual ~ParticleList();
/**
@@ -107,6 +112,8 @@ public:
ParticleVector(ParticleContainer *const parent = nullptr,
const bool delParent = true);
+ A_DELETE_COPY(ParticleVector);
+
virtual ~ParticleVector();
/**