diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-10 00:16:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-10 00:16:37 +0300 |
commit | e066ec2e038405621a7de50e4cd735e548eb488d (patch) | |
tree | 626e7ddacf867949a5380bfe528a332dffada5a4 /src/particlecontainer.h | |
parent | 6d7af74bab17c03f1604e8351d397695286414ed (diff) | |
download | manaplus-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.h | 7 |
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(); /** |