From: Wolfgang Bangerth <bangerth@math.tamu.edu>
Date: Sat, 15 Aug 2015 01:44:13 +0000 (-0500)
Subject: Fix testcase.
X-Git-Tag: v8.4.0-rc2~603^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=060e0ffcedd93f87ab8c24c8760f8aca6e88b66c;p=dealii.git

Fix testcase.

The all-headers/distributed/tria_base.h.debug testcase failed because the
compiler is missing a forward declaration of parallel::Triangulation. Provide
this.
---

diff --git a/include/deal.II/grid/tria_accessor.templates.h b/include/deal.II/grid/tria_accessor.templates.h
index 41b226da8d..641ecb9494 100644
--- a/include/deal.II/grid/tria_accessor.templates.h
+++ b/include/deal.II/grid/tria_accessor.templates.h
@@ -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;