]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify two statements. 11735/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 12 Feb 2021 01:36:16 +0000 (18:36 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 12 Feb 2021 01:36:16 +0000 (18:36 -0700)
include/deal.II/grid/tria_accessor.templates.h

index 8d2d26fc2d858362f7663fdb907f74fecf4b199a..e4c7d383b38d7ae6d6f212c7798be689b0db075c 100644 (file)
@@ -2851,8 +2851,7 @@ inline typename dealii::internal::TriangulationImplementation::
   Iterators<1, spacedim>::line_iterator
   TriaAccessor<0, 1, spacedim>::line(const unsigned int)
 {
-  return typename dealii::internal::TriangulationImplementation::
-    Iterators<1, spacedim>::line_iterator();
+  return {};
 }
 
 
@@ -2870,8 +2869,7 @@ inline typename dealii::internal::TriangulationImplementation::
   Iterators<1, spacedim>::quad_iterator
   TriaAccessor<0, 1, spacedim>::quad(const unsigned int)
 {
-  return typename dealii::internal::TriangulationImplementation::
-    Iterators<1, spacedim>::quad_iterator();
+  return {};
 }
 
 

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.