]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compiler warnings for old clang 10678/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 9 Jul 2020 17:31:12 +0000 (13:31 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 9 Jul 2020 17:32:18 +0000 (13:32 -0400)
include/deal.II/grid/reference_cell.h

index 49e2033ccdfe8f149329a894c70da2b41d2f02e1..c5f6b4d5e4ed889c6248a6b8b7b621959353f245 100644 (file)
@@ -162,7 +162,7 @@ namespace ReferenceCell
 
           (void)vertex;
 
-          return {0u, 0u};
+          return {{0u, 0u}};
         }
 
         /**
@@ -175,7 +175,7 @@ namespace ReferenceCell
 
           (void)line;
 
-          return {0, 0};
+          return {{0, 0}};
         }
 
         /**

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.