]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Utilities: Fix compile error on certain compilers 13813/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Wed, 25 May 2022 11:22:59 +0000 (13:22 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Wed, 25 May 2022 11:22:59 +0000 (13:22 +0200)
include/deal.II/base/utilities.h

index 1c29fcbdad50548087f49025ee371184c39cdd38..ad245e658294537aaffd1ec2a0cde3a303dd8185 100644 (file)
@@ -1474,7 +1474,7 @@ namespace Utilities
         return object;
       }
 
-    return {};
+    return T();
   }
 
 

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.