]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
only base class is required for initialization
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 12 Sep 2012 12:44:34 +0000 (12:44 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 12 Sep 2012 12:44:34 +0000 (12:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@26311 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/tria_accessor.h
deal.II/include/deal.II/grid/tria_accessor.templates.h

index b12710e3f56c4cb819b50f3d9304fd224bd0a14b..047481289e7de99c90b5560fc7ba27a443672d49 100644 (file)
@@ -2171,7 +2171,7 @@ class CellAccessor :  public TriaAccessor<dim,dim,spacedim>
                                      /**
                                       * Copy constructor.
                                       */
-    CellAccessor (const CellAccessor &cell_accessor);
+  CellAccessor (const TriaAccessor<dim,dim,spacedim> &cell_accessor);
 
                                      /**
                                       * Conversion constructor. This
index fd90e894a4e3377109a3f5fe2a35bce674e33abd..99f5a30f5d12be878881018c0ccfcbc00077b4c5 100644 (file)
@@ -2418,8 +2418,7 @@ CellAccessor (const Triangulation<dim,spacedim> *parent,
 
 template <int dim, int spacedim>
 inline
-CellAccessor<dim,spacedim>::
-CellAccessor (const CellAccessor &cell_accessor)
+  CellAccessor<dim,spacedim>::CellAccessor (const TriaAccessor<dim,dim,spacedim>& cell_accessor)
                 :
                 TriaAccessor<dim, dim, spacedim> (static_cast<const TriaAccessor<dim, dim, spacedim>&>(cell_accessor))
 {}

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.