]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify code. 11603/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 22 Jan 2021 00:28:45 +0000 (17:28 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 22 Jan 2021 00:28:45 +0000 (17:28 -0700)
source/grid/reference_cell.cc

index b0af4ec88f2e7e6d5b2173bcbca943aa31a56a50..8bcca761b04bab50f2bd6021697bd6d594079586 100644 (file)
@@ -45,7 +45,7 @@ namespace ReferenceCell
 
       // Call the private constructor, which we can from here because this
       // function is a 'friend'.
-      return dealii::ReferenceCell::Type(kind);
+      return {kind};
     }
   } // namespace internal
 

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.