]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix testcase. 1371/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 15 Aug 2015 01:44:13 +0000 (20:44 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 15 Aug 2015 01:44:13 +0000 (20:44 -0500)
The all-headers/distributed/tria_base.h.debug testcase failed because the
compiler is missing a forward declaration of parallel::Triangulation. Provide
this.

include/deal.II/grid/tria_accessor.templates.h

index 41b226da8db2986ca3ea03106ab1a7eb36439cec..641ecb9494f952a885383cf356b06818054eaa53 100644 (file)
@@ -26,8 +26,7 @@
 #include <deal.II/grid/tria_iterator.h>
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator.templates.h>
-#include <deal.II/distributed/tria.h>
-#include <deal.II/distributed/shared_tria.h>
+#include <deal.II/distributed/tria_base.h>
 
 #include <cmath>
 
@@ -35,6 +34,8 @@ DEAL_II_NAMESPACE_OPEN
 
 namespace parallel
 {
+  template <int, int> class Triangulation;
+
   namespace distributed
   {
     template <int, int> class Triangulation;

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.