]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Again work around constexpr issues. 11713/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 8 Feb 2021 21:08:13 +0000 (14:08 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 8 Feb 2021 21:08:13 +0000 (14:08 -0700)
include/deal.II/grid/reference_cell.h

index 338310047d5244add03ff5bbe0cdb605d4af734e..919f633d48542f23406fd6af78effe3948e72ae9 100644 (file)
@@ -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)
 {}
 

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.