From: Wolfgang Bangerth Date: Fri, 22 Jan 2021 00:28:45 +0000 (-0700) Subject: Simplify code. X-Git-Tag: v9.3.0-rc1~583^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11603%2Fhead;p=dealii.git Simplify code. --- diff --git a/source/grid/reference_cell.cc b/source/grid/reference_cell.cc index b0af4ec88f..8bcca761b0 100644 --- a/source/grid/reference_cell.cc +++ b/source/grid/reference_cell.cc @@ -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