]> https://gitweb.dealii.org/ - dealii.git/commitdiff
force initialization of static struct
authorMatthias Maier <tamiko@43-1.org>
Mon, 19 Apr 2021 20:26:19 +0000 (15:26 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 19 Apr 2021 22:22:49 +0000 (17:22 -0500)
source/base/mpi.cc

index 47fd19e25543b713d0b7da7fd2b2648ca669fa7e..2a71e5c98857eff60894b394dfc0eb1655a481e4 100644 (file)
@@ -786,6 +786,9 @@ namespace Utilities
 
 #endif
 
+    /* Force initialization of static struct: */
+    MPI_InitFinalize::Signals MPI_InitFinalize::signals =
+      MPI_InitFinalize::Signals();
 
 
     MPI_InitFinalize::MPI_InitFinalize(int &              argc,

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.