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