]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Obvious workaround for gcc2.95 compiler problem.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 1 Jun 2005 14:59:00 +0000 (14:59 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 1 Jun 2005 14:59:00 +0000 (14:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@10810 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/time_dependent.cc

index 2c33d0c18c3c7a7d71d07a40c65bd4f75738cd26..551d6242c3bf55779d66bc9e1d8ec5dbf699632d 100644 (file)
@@ -137,14 +137,14 @@ void TimeDependent::delete_timestep (const unsigned int position)
   if (position != 0)
     timesteps[position-1]->set_next_timestep ((position<timesteps.size()) ?
                                              timesteps[position] :
-                                             0);
+                                             /*null*/SmartPointer<TimeStepBase>());
 
                                   // same for "previous" pointer of next
                                   // time step
   if (position<timesteps.size())
     timesteps[position]->set_previous_timestep ((position!=0) ?
                                                timesteps[position-1] :
-                                               0);
+                                               /*null*/SmartPointer<TimeStepBase>());
 }
 
 

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.