From f950fa80ac28dea297796cd66157870945b6c7ed Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 8 Feb 2021 14:08:13 -0700 Subject: [PATCH] Again work around constexpr issues. --- include/deal.II/grid/reference_cell.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) {} -- 2.39.5