From: Wolfgang Bangerth Date: Mon, 8 Feb 2021 21:08:13 +0000 (-0700) Subject: Again work around constexpr issues. X-Git-Tag: v9.3.0-rc1~482^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f950fa80ac28dea297796cd66157870945b6c7ed;p=dealii.git Again work around constexpr issues. --- diff --git a/include/deal.II/grid/reference_cell.h b/include/deal.II/grid/reference_cell.h index 338310047d..919f633d48 100644 --- a/include/deal.II/grid/reference_cell.h +++ b/include/deal.II/grid/reference_cell.h @@ -92,7 +92,8 @@ public: /** * Default constructor. Initialize this object as an invalid object. */ - constexpr ReferenceCell(); + DEAL_II_CONSTEXPR + ReferenceCell(); /** * Return true if the object is a Vertex, Line, Quadrilateral, or Hexahedron. @@ -379,7 +380,8 @@ namespace ReferenceCells -inline constexpr ReferenceCell::ReferenceCell() +inline DEAL_II_CONSTEXPR +ReferenceCell::ReferenceCell() : ReferenceCell(ReferenceCells::Invalid) {}