From c3b737e18db385ae11583e5adf0d332d0fc4237e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 2 Oct 2017 16:21:14 -0600 Subject: [PATCH] Use =default for an empty constructor. --- include/deal.II/particles/particle_iterator.h | 2 +- source/particles/particle_iterator.cc | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/include/deal.II/particles/particle_iterator.h b/include/deal.II/particles/particle_iterator.h index c75f2b44b5..c8ecf24446 100644 --- a/include/deal.II/particles/particle_iterator.h +++ b/include/deal.II/particles/particle_iterator.h @@ -34,7 +34,7 @@ namespace Particles /** * Empty constructor. Such an object is not usable! */ - ParticleIterator (); + ParticleIterator () = default; /** * Constructor of the iterator. Takes a reference to the particle diff --git a/source/particles/particle_iterator.cc b/source/particles/particle_iterator.cc index bdcba3020a..67c645f913 100644 --- a/source/particles/particle_iterator.cc +++ b/source/particles/particle_iterator.cc @@ -19,14 +19,6 @@ DEAL_II_NAMESPACE_OPEN namespace Particles { - template - ParticleIterator::ParticleIterator () - : - accessor () - {} - - - template ParticleIterator::ParticleIterator (const std::multimap > &map, const typename std::multimap >::iterator &particle) -- 2.39.5