]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use =default for an empty constructor. 5187/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 2 Oct 2017 22:21:14 +0000 (16:21 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 2 Oct 2017 22:21:14 +0000 (16:21 -0600)
include/deal.II/particles/particle_iterator.h
source/particles/particle_iterator.cc

index c75f2b44b53936fc8d5b11490fbd21c303e87917..c8ecf24446b74d86b107366e8055df8b66ef002b 100644 (file)
@@ -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
index bdcba3020ad56a6a52b2e6fc72c1ab180add0728..67c645f91333f82c8c09e598835352a773b55ace 100644 (file)
@@ -19,14 +19,6 @@ DEAL_II_NAMESPACE_OPEN
 
 namespace Particles
 {
-  template <int dim, int spacedim>
-  ParticleIterator<dim,spacedim>::ParticleIterator ()
-    :
-    accessor ()
-  {}
-
-
-
   template <int dim, int spacedim>
   ParticleIterator<dim,spacedim>::ParticleIterator (const std::multimap<types::LevelInd, Particle<dim,spacedim> > &map,
                                                     const typename std::multimap<types::LevelInd, Particle<dim,spacedim> >::iterator &particle)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.