diff options
Diffstat (limited to 'src/particlecontainer.cpp')
-rw-r--r-- | src/particlecontainer.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/particlecontainer.cpp b/src/particlecontainer.cpp index f19ad6e3..9dfb8585 100644 --- a/src/particlecontainer.cpp +++ b/src/particlecontainer.cpp @@ -56,8 +56,7 @@ ParticleList::ParticleList(ParticleContainer *parent, bool delParent): ParticleContainer(parent, delParent) {} -ParticleList::~ParticleList() -{} +ParticleList::~ParticleList() = default; void ParticleList::addLocally(Particle *particle) { @@ -117,8 +116,7 @@ ParticleVector::ParticleVector(ParticleContainer *parent, bool delParent): ParticleContainer(parent, delParent) {} -ParticleVector::~ParticleVector() -{} +ParticleVector::~ParticleVector() = default; void ParticleVector::setLocally(int index, Particle *particle) { |