]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix error in copy constructor
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 03:54:48 +0000 (03:54 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 03:54:48 +0000 (03:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@24143 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/tria.cc

index 8306b42c4d42192eba59e4c283d25fc958148004..15431b627e47f438cd608cdf35bd0598677d4aab 100644 (file)
@@ -9394,13 +9394,13 @@ Triangulation (const MeshSmoothing smooth_grid,
 
 template <int dim, int spacedim>
 Triangulation<dim, spacedim>::
-Triangulation (const Triangulation<dim, spacedim> &)
+Triangulation (const Triangulation<dim, spacedim> & other)
                                   // do not set any subscriptors;
                                   // anyway, calling this constructor
                                   // is an error!
                :
                Subscriptor(),
-               check_for_distorted_cells(check_for_distorted_cells)
+               check_for_distorted_cells(other.check_for_distorted_cells)
 {
   Assert (false, ExcInternalError());
 }

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.