]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use proper return type.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 18 Dec 2010 13:29:36 +0000 (13:29 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 18 Dec 2010 13:29:36 +0000 (13:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@23002 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 9eade028cd0fe8945baa8a1cfcc6e4466a20375b..8acf9194c3a3e32596e31ec9ea231906045a2ff4 100644 (file)
@@ -1967,14 +1967,14 @@ class TriaAccessor<0, 1, spacedim>
                                      * @brief Return an invalid object
                                      */
     static
-    TriaIterator<InvalidAccessor<0,1,spacedim> >
+    TriaIterator<TriaAccessor<0,1,spacedim> >
     child (const unsigned int);
 
                                     /**
                                      * @brief Return an invalid object
                                      */
     static
-    TriaIterator<InvalidAccessor<0,1,spacedim> >
+    TriaIterator<TriaAccessor<0,1,spacedim> >
     isotropic_child (const unsigned int);
 
                                     /**
@@ -2613,7 +2613,7 @@ class CellAccessor :  public TriaAccessor<dim,dim,spacedim>
                                      /**
                                      * @}
                                      */
-                                     
+
                                      /**
                                      *  @name Dealing with codim 1 cell orientation
                                      */
@@ -2630,7 +2630,7 @@ class CellAccessor :  public TriaAccessor<dim,dim,spacedim>
                                      */
     bool direction_flag () const;
 
-                                    
+
 
                                     /**
                                      *  Return an iterator to the
@@ -2844,7 +2844,7 @@ class CellAccessor :  public TriaAccessor<dim,dim,spacedim>
     template <int, int> friend class Triangulation;
 
     friend class internal::Triangulation::Implementation;
-    
+
 };
 
 
index b979367bea4bdf4b4fe6229d8865156d4df1190f..c8d8ab59adcae8f75801a8b1c9f9fa47ed58811d 100644 (file)
@@ -2282,19 +2282,19 @@ unsigned int TriaAccessor<0, 1, spacedim>::max_refinement_depth ()
 
 template <int spacedim>
 inline
-TriaIterator<InvalidAccessor<0,1,spacedim> >
+TriaIterator<TriaAccessor<0,1,spacedim> >
 TriaAccessor<0, 1, spacedim>::child (const unsigned int)
 {
-  return TriaIterator<InvalidAccessor<0,1,spacedim> >();
+  return TriaIterator<TriaAccessor<0,1,spacedim> >();
 }
 
 
 template <int spacedim>
 inline
-TriaIterator<InvalidAccessor<0,1,spacedim> >
+TriaIterator<TriaAccessor<0,1,spacedim> >
 TriaAccessor<0, 1, spacedim>::isotropic_child (const unsigned int)
 {
-  return TriaIterator<InvalidAccessor<0,1,spacedim> >();
+  return TriaIterator<TriaAccessor<0,1,spacedim> >();
 }
 
 

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.