]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compiling for C++11 9399/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 20 Jan 2020 14:29:27 +0000 (09:29 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 20 Jan 2020 14:29:27 +0000 (09:29 -0500)
source/distributed/fully_distributed_tria.cc

index 080c0fd2fc734fb31e5828f0d9721e18e6d13d69..710f4b517fa89de0bca6d2a4707db1d618ac31e7 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <deal.II/base/memory_consumption.h>
 #include <deal.II/base/mpi.h>
+#include <deal.II/base/std_cxx14/memory.h>
 
 #include <deal.II/distributed/fully_distributed_tria.h>
 #include <deal.II/distributed/fully_distributed_tria_util.h>
@@ -317,7 +318,7 @@ namespace parallel
                          *>(&other_tria) == nullptr)
         {
           serial_tria =
-            std::make_unique<dealii::Triangulation<dim, spacedim>>();
+            std_cxx14::make_unique<dealii::Triangulation<dim, spacedim>>();
 
           // actually copy the serial triangulation
           serial_tria->copy_triangulation(other_tria);

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.