]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix gcc 4.9 warning 8848/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 24 Sep 2019 19:47:28 +0000 (15:47 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 24 Sep 2019 19:47:28 +0000 (15:47 -0400)
fixes:
source/grid/grid_tools.cc:550:28: warning: missing initializer for
member ‘dealii::SubCellData::boundary_lines’ [-Wmissing-field-
initializers]

source/grid/grid_tools.cc

index cddbf82f2245437a731f774f36751e17c98feceb..bbbaeecc2099330cbbc29c08aa9aca8fd6e5774c 100644 (file)
@@ -547,7 +547,7 @@ namespace GridTools
       SubCellData
       get()
       {
-        return SubCellData{};
+        return SubCellData();
       }
     };
 

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.