]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix gcc 4.9.4 warning 9433/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 27 Jan 2020 04:20:06 +0000 (23:20 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 27 Jan 2020 04:20:06 +0000 (23:20 -0500)
include/deal.II/base/geometry_info.h

index 48993f08de55d960be3e4aa0a88745d368c05969..cb511540117db32d6e19f5c7e0a7d94a279dc315 100644 (file)
@@ -2709,7 +2709,7 @@ GeometryInfo<3>::unit_cell_vertex(const unsigned int vertex)
 inline std::array<unsigned int, 0>
 GeometryInfo<0>::face_indices()
 {
-  return {};
+  return {{}};
 }
 
 

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.